[Pkg-tcltk-devel] Tcl 8.6: undefined reference to `tclStubsPtr'

Ole Streicher olebole at debian.org
Sun Oct 5 14:12:30 UTC 2014


Hi Sergei,

Sergei Golovan <sgolovan at nes.ru> writes:
> There was a recent change connected with tclStubsPtr which for some
> old code results in these compiling errors. Let me describe what
> tclStubsPtr is for: [...]

Thank you very much for your explanation! Now I (hope to) understand the
problem.

> In your case I don't know which is better: to add -ltclstub to the
> libraries list or to remove -DUSE_TCL_STUBS from the defines list.
> Probably any of those will suffice.

Since saods9 is a program which is linked to a certain tcl version (8.6)
anyway, I would not need the stubs. So, I removed all USE_TCL_STUBS
definitions, and the compilation went thru (and as far as I can see, the
program works.)

Thank you and best regards

Ole



More information about the Pkg-tcltk-devel mailing list