From owner-freebsd-current Tue Jul 29 00:24:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA20550 for current-outgoing; Tue, 29 Jul 1997 00:24:50 -0700 (PDT) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA20545 for ; Tue, 29 Jul 1997 00:24:45 -0700 (PDT) Received: from helmholtz (helmholtz [198.202.70.34]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id AAA12475 for ; Tue, 29 Jul 1997 00:24:43 -0700 (PDT) Date: Tue, 29 Jul 1997 00:24:43 -0700 (PDT) From: Tom Bartol X-Sender: bartol@helmholtz To: current@freebsd.org Subject: make world fails in tcl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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