Date: Tue, 29 Jul 1997 00:24:43 -0700 (PDT) From: Tom Bartol <bartol@salk.edu> To: current@freebsd.org Subject: make world fails in tcl Message-ID: <Pine.SUN.3.95.970729000648.12273A-100000@helmholtz>
index | next in thread | raw e-mail
Hi all,
Does anyone else get the following failure in make world, cvsupped a few
minutes ago?
cc -O2 -m486 -pipe -I/usr/src/lib/libtcl/../../contrib/tcl/generic
-I/usr/src/lib/libtcl/../../contrib/tcl/unix -DNO_VALUES_H=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
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\"
-DTCL_LIBRARY=\"/usr/libdata/tcl\" -DTCL_PACKAGE_PATH=\"/usr/lib/tclpkg\
/usr/local/lib/tclpkg\" -c
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c -o tclMtherr.o
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c: In function
`matherr':
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing
pointer to incomplete type
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `DOMAIN'
undeclared (first use this function)
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: (Each
undeclared identifier is reported only once
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: for each
function it appears in.)
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing
pointer to incomplete type
/usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `SING'
undeclared (first use this function)
*** Error code 1
Stop.
The problem seems to arise from the following code in tclMtherr.c:
/*
* The following definitions allow matherr to compile on systems
* that don't really support it. The compiled procedure is bogus,
* but it will never be executed on these systems anyway.
*/
#ifndef NEED_MATHERR
struct exception {
int type;
};
#define DOMAIN 0
#define SING 0
#endif
Which never gets used because the Makefile in src/lib/libtcl does a
-DNEED_MATHERR=1 within the CFLAGS definition. Therefore SING and DOMAIN
are undefined.
Tom
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.95.970729000648.12273A-100000>
