Building on FreeBSD 3.2

Ben Elliston bje@redhat.com
Thu Nov 9 14:37:00 GMT 2000


   Now I'm having another problem. After lintcl8.1.a successfully builds:

   /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'

At a glance, this looks like the code that loads and unloads dynamic modules
in Tcl -- that is, code that would use dlopen() or similar.  Perhaps Tcl's
configury is unable to determine which mechanism is needed on FreeBSD?

Again, check Tcl's config.log for the gory details.  It's probably been
known about and fixed in the official Tcl distribution for some time.

Ben



More information about the Sourcenav mailing list