[tex-k] compile error of ptex with new libkpathsea 2009

Norbert Preining preining at logic.at
Sat Dec 19 12:56:21 CET 2009


Hi Karl, hi all,

can someone help us with getting ptex compile with the new libkpathsea5
from TeX Live 2009?

There are some undefined references I don't udnerstand because they
seem all to be defined in kpathsea/types.h, but somehow not exported
(but I am a complete ignorant in these things):

On Sat, 19 Dec 2009, Hilmar Preuße wrote:
> gcc -o ptex texini.o tex0.o tex1.o tex2.o ptexextra.o kanji.o version.o usage.o  ../lib/lib.a -lkpathsea -lm
> tex2.o: In function `newinteraction':
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/ptex-src-3.1.10/tex2.c:3475: undefined reference to `kpse_make_tex_discard_errors'
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/ptex-src-3.1.10/tex2.c:3476: undefined reference to `kpse_make_tex_discard_errors'
> ptexextra.o: In function `parse_options':
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/ptex-src-3.1.10/ptexextra.c:839: undefined reference to `kpathsea_debug'
> ptexextra.o: In function `maininit':
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/ptex-src-3.1.10/ptexextra.c:239: undefined reference to `kpse_program_name'
> ../lib/lib.a(openclose.o): In function `recorder_start':
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/lib/openclose.c:42: undefined reference to `kpse_program_name'
> /home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/lib/openclose.c:43: undefined reference to `kpse_program_name'
> collect2: ld returned 1 exit status
> make[1]: *** [ptex] Error 1
> make[1]: Leaving directory
> `/home/hille/ptex-bin-3.1.10+0.04b/tetex-src-3.0/texk/web2c/ptex-src-3.1.10'
> make: *** [build-stamp] Error 2


Thanks a lot for any suggestion and all the best

Norbert

----------------------------------------------------------------------------
Norbert Preining                preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan               TU Wien, Austria            Debian TeX Task Force
gpg DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
----------------------------------------------------------------------------
The suit into which the man's body had been stuffed looked
as if it's only purpose in life was to demonstrate how
difficult it was to get this sort of body into a suit.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


More information about the tex-k mailing list