Tcl doesn't compile on HP-UX 10.20
Closed / Fixed219025ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:35
OriginalBugID: 4021 Bug
Version: 8.2.3
SubmitDate: '2000-01-14'
LastModified: '2000-01-23'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: HP-UX
FixedDate: '2000-01-23'
FixedInVersion: 8.3b1
ClosedDate: '2000-10-25'
Name:
Hank van Bekkem
ReproducibleScript:
Tcl 8.2.3 doesn't compile on HP-UX 10.20
Commands executed:
cd unix
./configure --prefix=/home/jbek
make
Results:
1. A lot of the following messages:
cc: "../generic/../unix/tclUnixPort.h", line 377: warning 525:
Redeclaration of identifier "fd_mask".
This message occurs the first time while compiling
"generic/tclAlloc.c".
This is fixed by deleting "-DNO_FD_SET=1" to AC_FLAGS in the Makefile.
2. While compiling "generic/tclDate.c":
cc: "../generic/tclDate.c", line 811: warning 5: "const" will
become a keyword.
cc: "../generic/tclDate.c", line 811: error 1000: Unexpected
symbol: "TclDatetabelem".
cc: "../generic/tclDate.c", line 818: warning 5: "const" will
become a keyword.
cc: "../generic/tclDate.c", line 818: error 1000: Unexpected
symbol: "TclDatetabelem".
The same for lines 843, 850, 854, 861, 868, 875, 1302.
By removing "const" in these lines, this file compiles.
3. While compiling "unix/tclMtherr.c":
cpp: "tclMtherr.c", line 41: warning 2001: Redefinition of macro
DOMAIN.
cpp: "tclMtherr.c", line 42: warning 2001: Redefinition of macro
SING.
cc: "../unix/tclMtherr.c", line 38: error 1587: Redeclaration of
tag "exception".
cc: "../unix/tclMtherr.c", line 38: error 1595: Redeclaration of
members.
This is fixed by adding "-DNEED_MATHERR" to MATH_FLAGS in the
Makefile.
4. While compiling "unix/tclUnixFCmd.c":
cpp: "tclUnixFCmd.c", line 56: error 4036: Can't open include
file 'sys/statfs.h'.
This is fixed by adding "-DNO_FSTATFS=1" to AC_FLAGS in the Makefile.
After this, Tcl 8.2.3 compiles and works fine.
The "const" problem was resolved with 8.3b1, where CONST is used
instead to allow it to be #def'd out (which will happen for HP10.20).
The other problems we can't repeat and haven't been reported for
other HP10 users. Possibly this was configured for another Unix
system, and configure was picking up cached info...
-- 01/23/2000 hobbs
welch Closed ticket [219025ffff].
[History diff]2000-10-26 08:33:10
dgp Ticket [219025ffff]: 3 changes
[History diff]2001-04-05 06:52:47
Log in (anonymous is fine) to add a comment.