1 Jul 11:25
Re: Tcl/Tk 8.6a1 RELEASED
From: Rene Zaumseil <r.zaumseil@...>
Subject: Re: Tcl/Tk 8.6a1 RELEASED
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-01 09:26:25 GMT
Subject: Re: Tcl/Tk 8.6a1 RELEASED
Newsgroups: gmane.comp.lang.tcl.core
Date: 2008-07-01 09:26:25 GMT
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
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
RSS Feed