Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 95870baf36089cc382c1304ca392d869628cda0e
Ticket: 219025ffffffffffffffffffffffffffffffffff
Tcl doesn't compile on HP-UX 10.20
User & Date: nobody on 2000-10-26 01:09:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
  4. foundin changed to: "final: 8.2.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to: "Tcl doesn't compile on HP-UX 10.20"
  11. type changed to: "Bug"