Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c76f6c715236f8a16fd4533fc7ca536d7127491
Ticket: 218022ffffffffffffffffffffffffffffffffff
Fatal error in compiling Tcl8.1b1
User & Date: nobody on 2000-10-26 00:52:17
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1147 Bug
    Version: 8.1b1
    SubmitDate: '1999-02-02'
    LastModified: '1999-09-13'
    Severity: CRIT
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-09-13'
    
    
    Name:
    Stefano Federici
    
    ReproducibleScript:
    ./configure --enable-gcc --enable-threads
    make
    
    ObservedBehavior:
    The make command stops the compilation with the following fatal error:
    
    gcc -c -O -Wall -Wconversion  -I./../generic -I. -DTCL_THREADS=1 -D_REENTRANT=1 -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_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1         -DTCL_SHLIB_EXT=\".so\" ./../generic/tclBasic.c
    In file included from ../generic/tclPort.h:25,
                     from ./../generic/tclBasic.c:21:
    ../generic/../unix/tclUnixPort.h:105: arpa/inet.h: No such file or directory
    make: *** [tclBasic.o] Error 1
    
    If a try to use an (old?) version of "arpa/inet.h" I get the following error (always after 'make'):
    
    gcc -c -O -Wall -Wconversion  -I./../generic -I. -DTCL_THREADS=1 -D_REENTRANT=1 -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_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1         -DTCL_SHLIB_EXT=\".so\" ./../generic/tclBasic.c
    In file included from ../generic/../unix/tclUnixPort.h:105,
                     from ../generic/tclPort.h:25,
                     from ./../generic/tclBasic.c:21:
    /usr/include/arpa/inet.h:52: parse error before `inet_addr'
    /usr/include/arpa/inet.h:52: warning: type defaults to `int' in declaration of `inet_addr'
    /usr/include/arpa/inet.h:52: warning: data definition has no type or storage class
    /usr/include/arpa/inet.h:53: parse error before `inet_lnaof'
    /usr/include/arpa/inet.h:53: warning: type defaults to `int' in declaration of `inet_lnaof'
    /usr/include/arpa/inet.h:53: warning: data definition has no type or storage class
    /usr/include/arpa/inet.h:54: warning: parameter names (without types) in function declaration
    /usr/include/arpa/inet.h:55: parse error before `inet_netof'
    /usr/include/arpa/inet.h:55: warning: type defaults to `int' in declaration of `inet_netof'
    /usr/include/arpa/inet.h:55: warning: data definition has no type or storage class
    /usr/include/arpa/inet.h:56: parse error before `inet_network'
    /usr/include/arpa/inet.h:56: warning: type defaults to `int' in declaration of `inet_network'
    /usr/include/arpa/inet.h:56: warning: data definition has no type or storage class
    In file included from ../generic/../unix/tclUnixPort.h:106,
                     from ../generic/tclPort.h:25,
                     from ./../generic/tclBasic.c:21:
    /usr/include/netdb.h:127: parse error before `in_addr_t'
    /usr/include/netdb.h:127: warning: no semicolon at end of struct or union
    make: *** [tclBasic.o] Error 1
    
    
    
    I cannot compile the tcl8.1 with my cc, so I installed gcc 2.8.1.
    I cannot find anywhere the file inet.h on my machine. Is it a gcc file contained in a particular library?
    Or is it a basic file of cc (that could be not properly installed?)
    I also tried the compilation of tcl under windows95 in the 'egcs' environment (http://egcs.cygnus.com),
    and I have the same results.
    ---
    It is highly likely that some corruption of the config file occured.
    The user should do a 'make distclean' and start fresh.  We normally
    see no such problems for Solaris configs. 
    -- 09/13/1999 hobbs
    
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  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: "10. Objects"
  10. title changed to: "Fatal error in compiling Tcl8.1b1"
  11. type changed to: "Bug"