This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Compile problem
- To: sigra at home dot se
- Subject: Re: Compile problem
- From: Stan Shebs <shebs at shebs dot cnchost dot com>
- Date: Wed, 24 Jan 2001 09:25:41 -0800
- CC: xconq7 at sources dot redhat dot com
- References: <01012410154200.00306@a77>
- Reply-To: shebs at shebs dot cnchost dot com
Erik Sigra wrote:
>
> I have had this for a few days now. I don't think I changed any TCL stuff on
> my system.
>
> gcc -c -g -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
Did you perhaps do an update -d and get the tcl sources out of the
repository? This is typical of older tcl sources being compiled
on newer Linux, but the tcl already in your system should be
adequate. (The error comes about because some Linux error numbers
have been changed to have the same value, and the old tcl code
was surprised about this...)
Stan