Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclMtherr.c fails to compile (vanilla RedHat 5.2/glibc)

Closed / Fixed218329ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:17
OriginalBugID: 3910 Bug
Version: 8.2.3
SubmitDate: '1999-12-21'
LastModified: '1999-12-22'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: Red Hat Linux 5.2
Machine: IBM 466DX2 pc 32Mb mem 2Gb disk
FixedDate: '2000-10-25'
ClosedDate: '1999-12-22'


Name:
Peter Flynn

CVS:
RCS: @(#) $Id: tclMtherr.c,v 1.3 1999/04/16 00:48:04 stanton Exp $

Extensions:
None yet :-)

CustomShell:
Nope

Comments:
I'm a little surprised at it falling over under RH5.2 and gcc, but I don't think it's anything on this system.
I built the last version I used (from your sources, 8.0.1 I think) just fine.

ReproducibleScript:
cd unix
./configure
make

ObservedBehavior:
[everything up to here OK]
cc -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES   -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_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DTM_IN_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DRETSIGTYPE=int -Dvfork=fork -DNO_GETTOD=1 -DHAVE_SYS_IOCTL_H=1         -DTCL_SHLIB_EXT=\"\" ./../unix/tclMtherr.c
./../unix/tclMtherr.c:41: warning: `DOMAIN' redefined
/usr/include/math.h:146: warning: this is the location of the previous definition
./../unix/tclMtherr.c:42: warning: `SING' redefined
/usr/include/math.h:147: warning: this is the location of the previous definition
./../unix/tclMtherr.c:38: redefinition of `struct exception'
make: *** [tclMtherr.o] Error 1
[peter@silmaril unix]$ arch
i486
[peter@silmaril unix]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
[peter@silmaril unix]$

DesiredBehavior:
no compiler-class errors :-)



Turned out to be a problem in how configure was called. 
-- 12/22/1999 hobbs
welch Closed ticket [218329ffff]. [History diff]2000-10-26 08:20:06
dgp Ticket [218329ffff]: 3 changes [History diff]2001-04-23 03:44:47
Log in (anonymous is fine) to add a comment.