two_bugs

Klaus Dittrich kladi@z.zgs.de
Sun Mar 7 12:50:00 GMT 1999


I tried to compile dejagnu-19981026 and got the the following 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/tclProc.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
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/tclStringObj.c
./../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]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/klaus/netscape/dejagnu-19981026/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/klaus/netscape/dejagnu-19981026/tcl'
make: *** [all-tcl] Error 2

What to do ? Am I the only one detecting that since 19981026 ?

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.                                   

I do not have these README files . I tried to check egcs-1.1.1 on a 
suse-linux, so I send this bug-report to you.


I fixed the problem in commenting out the apropriate ifdef's but I think
that is not the solution.

I installed dejagnu (make install) and startet make check in egcs-1.1.1 

I got  ..

if [ -f ${rootme}/../../expect/expect ] ; then  \
  TCL_LIBRARY=${srcdir}/../../tcl/library ; \
  export TCL_LIBRARY ; fi ; \
` if [ -f ${srcdir}/../../dejagnu/runtest ]; then echo ${srcdir}/../../dejagnu/runtest; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ]; then echo runtest; else t=''; echo runtest | sed -e '' $t; fi; fi`
WARNING: Couldn't find the global config file.        

  ..

What is the name of the "global config file", where should it come from and
where should it go to ?

Best regards 
Klaus Dittrich kladi@z.zgs.de


More information about the Gcc-bugs mailing list