Overview
| Artifact ID: | c37d752d35e079f3013ac9cda678a0e6c50d7885 |
|---|---|
| Ticket: | 218416ffffffffffffffffffffffffffffffffff
Compilation error during installation |
| User & Date: | nobody on 2000-10-26 00:57:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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
- foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "75. Tutorial"
- title changed to: "Compilation error during installation"
- type changed to: "Bug"