dejagnu-19981026

Jeffrey A Law law@cygnus.com
Sun Mar 21 10:43:00 GMT 1999


  In message < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >you
 write:
  > dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2. 
  > 
  > Here's the error:
  > gcc -c -g -O2  -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
  > -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
  > -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
  > -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
  > -DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1
  > -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
  > -DHAVE_SYS_IOCTL_H=1        -DTCL_SHLIB_EXT=\".so\"
  > ./../generic/tclPosixStr.c
  > ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
  > ./../generic/tclPosixStr.c:340: duplicate case value
  > ./../generic/tclPosixStr.c:328: this is the first entry for that value
  > ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
  > ./../generic/tclPosixStr.c:787: duplicate case value
  > ./../generic/tclPosixStr.c:775: this is the first entry for that value
  > make[2]: *** [tclPosixStr.o] Error 1
  > make[2]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl/unix'
  > make[1]: *** [all] Error 2
  > make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
  > make: *** [all-tcl] Error 2
Let me guess.  You're using glibc-2.1?  This is a bug in tcl, not egcs.

jeff


More information about the Gcc mailing list