Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem building Tk (from trunk)

11 views
Skip to first unread message

Thomas MENEZ

unread,
May 31, 2012, 7:31:39 PM5/31/12
to
Hi all !

I have just tried to build the latest tcl/tk sources
under Linux (U12.04).
Tcl build worked out ok.
Tk did not !
I have the following linker error while trying to build the
wish executable (final operation of the 'make' process).

gcc -O2 -pipe -Wl,--export-dynamic tkAppInit.o -L/tmp/
TclTkReleases/tk/unix -ltk8.6 \
-L/tmp/TclTkReleases/tcl/unix -ltcl8.6 -lpthread -lX11 -ldl -
lpthread -lieee -lm -Wl,-rpath,/tmp/BuildDistributionTk/lib:/tmp/
BuildDistributionTcl/lib -o wish
/tmp/TclTkReleases/tk/unix/libtk8.6.a(tkImgPhInstance.o): In function
`TkImgPhotoDisplay':
tkImgPhInstance.c:(.text+0x1802): undefined reference to `TkPutImage'
/tmp/TclTkReleases/tk/unix/libtk8.6.a(tkImgPhInstance.o): In function
`TkImgDitherInstance':
tkImgPhInstance.c:(.text+0x2377): undefined reference to `TkPutImage'
/tmp/TclTkReleases/tk/unix/libtk8.6.a(ttkDefaultTheme.o): In function
`IndicatorElementDraw':
ttkDefaultTheme.c:(.text+0x17ca): undefined reference to `TkPutImage'


Any suggestion ?

Thx
0 new messages