From: Rene Z. <r.z...@fr...> - 2008-07-01 09:26:33
|
Hi, my first try to build kit executables with the new 8.6a1 release failed because of: undefined reference to `Tcl_InitStubs' undefined reference to `tclStubsPtr' Then I found the following in the release notes: * C code compiled with USE_TCL_STUBS now must be linked against a stub library. The Tcl shared library no longer exports variables used in the stub interface. Analogous changes also made to Tk. *** POTENTIAL INCOMPATILITY *** My link command for 8.5 was: gcc -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int pwb.o rechan.o zlib.o kitInit.o tclAppInit.o\ /home/rene/kbs/buildLinux/lib/libtk8.6.a /home/rene/kbs/buildLinux/lib/libtcl8.6.a\ /home/rene/kbs/buildLinux/lib/libz.a /home/rene/kbs/buildLinux/lib/vfs1.3/libvfs1.3.a\ /home/rene/kbs/buildLinux/lib/vqtcl4.1/libvqtcl4.1.a\ /home/rene/kbs/buildLinux/lib/thread2.6.5/libthread2.6.5.a -o kbskit8.5-cli\ -ldl -lpthread -lieee -lm Inserting of 'libtclstub8.6.a' for 8.6 does not solve the problem. With 'nm' I got the following: 'libtcl*.a': 85: U tclStubs 85: U tclStubs 85:tclStubInit.o: 85:00000e58 d tclStubHooks 85:00000540 D tclStubs 85:tclStubLib.o: 85:00000000 B tclStubsPtr 85: U tclStubs 86:tclStubInit.o: 86:00000008 d tclStubHooks 86:00000000 d tclStubs 'libtclstub*.a': 85:tclStubLib.o: 85:00000000 B tclStubsPtr 86:tclStubLib.o: 86:00000000 B tclStubsPtr 86: U tclStubsPtr I will try to see in the build process of the different parts. rene |