Building on FreeBSD 3.2
Chip Olson
ceo@shore.net
Thu Nov 9 14:02:00 GMT 2000
Wow, that was fast. OK, I'm a moron; I wasn't building out of a parallel
build directory.
Now I'm having another problem. After lintcl8.1.a successfully builds:
gcc -c -g -O2 -fwritable-strings
-I../../../SN452-source/tcl8.1/unix/../generic
-I../../../SN452-source/tcl8.1/unix -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
-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
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\"\"
../../../SN452-source/tcl8.1/unix/../unix/tclAppInit.c
gcc tclAppInit.o -L/usr/home/ceo/SN/SN452-build/tcl8.1/unix -ltcl8.1 -lm
-lc \
-o tclsh
/usr/home/ceo/SN/SN452-build/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In
function `Tcl_LoadObjCmd':
/usr/home/ceo/SN/SN452-build/tcl8.1/unix/../../../SN452-source/tcl8.1/unix/../generic/tclLoad.c:332:
undefined reference to `TclpLoadFile'
/usr/home/ceo/SN/SN452-build/tcl8.1/unix/../../../SN452-source/tcl8.1/unix/../generic/tclLoad.c:342:
undefined reference to `TclpUnloadFile'
/usr/home/ceo/SN/SN452-build/tcl8.1/unix/libtcl8.1.a(tclLoad.o): In
function `LoadExitProc':
/usr/home/ceo/SN/SN452-build/tcl8.1/unix/../../../SN452-source/tcl8.1/unix/../generic/tclLoad.c(.text+0x841):
undefined reference to `TclpUnloadFile'
gmake[2]: *** [tclsh] Error 1
gmake[2]: Leaving directory `/usr/home/ceo/SN/SN452-build/tcl8.1/unix'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/ceo/SN/SN452-build/tcl8.1'
gmake: *** [all-tcl8.1] Error 2
I have perfectly functional builds of Tcl 8.0 and 8.2 on my system already.
--
-Chip Olson. | ceo at shore dot net
"You ask me why we celebrate, when nothing has been won;
We take dark hours, we make them great, that's all we've ever done..."
-Oysterband, "This Is The Voice".
More information about the Sourcenav
mailing list