Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 1997 06:55:00 -0500 (EST)
From:      Rick Lotoczky <rickl@ic.net>
To:        freebsd-current@freefall.FreeBSD.org
Subject:   make world problem
Message-ID:  <ML-2.3.852378900.7590.rickl@sesi.strelsys.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've been having a problem with make world for some time.  Seems that the
libtcl Makefile may be incorrect, or my include files are incorrect.  I've
tried makeing -current from a clean download and even removed /usr/obj to
eliminate any residuals.  The same error keeps happening.  What am I doing
wrong???  Here's the error message:

cc -O2 -m486 -pipe -I/u/src/lib/libtcl/../../contrib/tcl/generic
-I/u/src/lib/libtcl/../../contrib/tcl/unix -DHAVE_UNISTD_H=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 -DTCL_SHLIB_EXT=\".so\"
-DTCL_LIBRARY=\"/usr/libdata/tcl\" -c
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c -o tclMtherr.o
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c: In function `matherr':
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing pointer
to incomplete type
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `DOMAIN' undeclared
(first use this function)
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: (Each undeclared
identifier is reported only once
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: for each function it
appears in.)
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing pointer
to incomplete type
/u/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `SING' undeclared
(first use this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

If I eliminate the -DNEED_MATHERR=1 declaration all seems to work well.  Also,
if I go into the source for tcl and run the configure script, it responds 
with a Need MathErr...NO.  I assumes this means the matherr support isn't
required, but the makefile says it is???  Any thoughts??

Thanks

Rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-2.3.852378900.7590.rickl>