Problem building Tk (from trunk)



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
.



Relevant Pages

  • sdl_main or WinMain@16 error
    ... undefined reference to `SDL_SetModuleHandle' ... The links to sdl etc. should be fine tough. ... glLoadIdentity(); ...
    (comp.lang.cpp)
  • SDL_Main or WinMain@16 error
    ... undefined reference to `SDL_SetModuleHandle' ... The links to sdl etc. should be fine tough. ... glLoadIdentity(); ...
    (comp.lang.cpp)
  • Re: Are there any ready to use MD5 C-function in Linux?
    ... > the sources of the openssl crypto library contain a nice md5 implementation in C. ... int main{ ... undefined reference to `_MD5_Update' ...
    (sci.crypt)
  • Re: import errors
    ... I have two types in one package and two procedures that ... >>undefined reference to 'AAA' ... > compiler error at all but is a linker error since it ... import it in the *.ads file, I haven't checked if it imports the ...
    (comp.lang.ada)
  • undefined reference to `vtable for Tuner ??????
    ... Compiling my current project I received the following error: ... undefined reference to `vtable for Tuner' ...
    (comp.lang.cpp)