Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:54 • Ticket [218416ffff] Compilation error during installation status still Delet... artifact: 175667d0a0 user: dgp
2000-10-26
08:21 • Deleted ticket [218416ffff]. artifact: fd29067342 user: welch
00:57 • New ticket [218416ffff]. artifact: c37d752d35 user: nobody

Compilation error during installation

Deleted218416ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:57:18
OriginalBugID: 5551 Bug
Version: 8.0.4
SubmitDate: '2000-05-17'
LastModified: '2000-05-17'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
Machine: Sparcstation-20
FixedDate: '2000-10-25'
ClosedDate: '2000-05-17'


Name:
Anup Kumar Talukdar

ReproducibleScript:
I am installing tcl8.0.4 as part of the NS (Network Simulator) package obtailed from the URL : " http://www-mash.CS.Berkeley.EDU/ns/ns-build.html". I downloaded
the ns-allinone packet from the url :

"http://www-mash.CS.Berkeley.EDU/dist/vint/ns-allinone-2.1b6a.tar.gz"

Then I unzipped and retrieved the files.
Then I ran "./install". The following error messages are given when compiling the file "tclIOUtil.c"
----------------------------------Error message-------------------------

cc -c -O    -I./../generic -I.  -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\" ./../generic/tclIOUtil.c
"./../generic/tclIOUtil.c", line 66: undefined symbol: access
"./../generic/tclIOUtil.c", line 66: warning: initialization type mismatch
"./../generic/tclIOUtil.c", line 66: non-constant initializer: op "U&"
*** Error code 2
make: Fatal error: Command failed for target `tclIOUtil.o'
tcl8.0.4 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com

ObservedBehavior:
Following error message is given :

cc -c -O    -I./../generic -I.  -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\" ./../generic/tclIOUtil.c
"./../generic/tclIOUtil.c", line 66: undefined symbol: access
"./../generic/tclIOUtil.c", line 66: warning: initialization type mismatch
"./../generic/tclIOUtil.c", line 66: non-constant initializer: op "U&"
*** Error code 2
make: Fatal error: Command failed for target `tclIOUtil.o'
tcl8.0.4 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com

DesiredBehavior:
Should have compiled without any error.



The problem is that their system isn't finding the native "access"
call.  It is including the std C headers, which should have access
defined (in unistd.h).  They should verify that this is so. 
-- 05/17/2000 hobbs
welch Deleted ticket [218416ffff]. [History diff]2000-10-26 08:21:18
dgp Ticket [218416ffff]: 3 changes [History diff]2001-04-05 06:54:26
Log in (anonymous is fine) to add a comment.