Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b76eb0dd6a6e330d5ba563f43014fc4c7a16d7c8
Ticket: 218264ffffffffffffffffffffffffffffffffff
Source TCL 8.2.1 won't compile on Solaris 2.6 with gcc compi
User & Date: nobody on 2000-10-26 00:55:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3310 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-05'
    LastModified: '1999-11-11'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 2.6
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-11'
    
    
    Name:
    Joe Coppa
    
    Comments:
    Please help
    
    ReproducibleScript:
    [root@netmon]/opt/local/src/tcl8.2.1/unix
    #make
    gcc -pipe -c -O -Wall -Wconversion -fPIC  -I./../generic -I.  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DTM_IN_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIMEZONE_VAR=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=int -Dvfork=fork -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_NET_ERRNO_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\" -DUSE_TCLALLOC=0 ./../generic/tclAlloc.c
    In file included from ../generic/tclPort.h:27,
                     from ./../generic/tclAlloc.c:22:
    ../generic/../unix/tclUnixPort.h:42: net/errno.h: No such file or directory
    In file included from ../generic/tclInt.h:30,
                     from ./../generic/tclAlloc.c:21:
    /usr/include/stdio.h:34: warning: empty declaration
    In file included from ../generic/../compat/string.h:28,
                     from ../generic/tclInt.h:48,
                     from ./../generic/tclAlloc.c:21:
    /usr/include/sys/types.h:246: warning: empty declaration
    /usr/include/sys/types.h:250: warning: empty declaration
    /usr/include/sys/types.h:253: warning: empty declaration
    /usr/include/sys/types.h:256: warning: empty declaration
    In file included from ../generic/tclPort.h:27,
                     from ./../generic/tclAlloc.c:22:
    ../generic/../unix/tclUnixPort.h:255: conflicting types for `gettimeofday'
    /usr/include/sys/time.h:389: previous declaration of `gettimeofday'
    *** Error code 1
    make: Fatal error: Command failed for target `tclAlloc.o'
    
    ObservedBehavior:
    configure:2402: checking tm_tzadj in struct tm
    configure:2411: gcc -pipe -c -g -O2  conftest.c 1>&5
    configure: In function `main':
    configure:2407: structure has no member named `tm_tzadj'
    configure: failed program was:
    #line 2404 "configure"
    #include "confdefs.h"
    #include <time.h>
    int main() {
    struct tm tm; tm.tm_tzadj;
    ; return 0; }
    configure:2427: checking tm_gmtoff in struct tm
    configure:2436: gcc -pipe -c -g -O2  conftest.c 1>&5
    configure: In function `main':
    configure:2432: structure has no member named `tm_gmtoff'
    configure: failed program was:
    #line 2429 "configure"
    #include "confdefs.h"
    #include <time.h>
    int main() {
    struct tm tm; tm.tm_gmtoff;
    ; return 0; }
    
    DesiredBehavior:
    Expected the compilation to actually work......
    
    
    
    This was a mistake in mixing 2.7 and 2.6 Sol builds without a
    make distclean. 
    -- 11/11/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  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:
    Source TCL 8.2.1 won't compile on Solaris 2.6 with gcc compi
    
  11. type changed to: "Bug"