Skip to content
Tcl Source Code History Of Ticket 218022
Login

History Of Ticket 218022

Artifacts Associated With Ticket 218022

  1. Ticket change [7c76f6c715] (rid 97083) by nobody on 2000-10-26 00:52:17:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.1b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "Fatal error in compiling Tcl8.1b1"
    11. type initialized to: "Bug"
  2. Ticket change [fa5e18e0db] (rid 91858) by welch on 2000-10-26 08:12:12:

    1. closedate changed to: "2000-10-26T01:12:12"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"