On 19.12.09 Karl Berry (k...@freefriends.org) wrote: Hi,
> > /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' > > I speculate that a different (old) types.h is being read in the > tex*.c compilations, because otherwise the identifier > kpse_make_tex_discard_errors would not have survived to link time. > Mixture of old and new objects? > I guess you're right: the source package uses a stripped version of teTeX 3.0 (using kpathsea4), reads the header files from this library but finally tries to link to the system-kpathsea5 lib. No wonder, that this fails.... > Add -save-temps to the tex2.c gcc line and see what types.h file > the .i file is reading. > # 1 "../../kpathsea/types.h" 1 # 26 "../../kpathsea/types.h" , which is the header file from teTeX 3.0, i.e. kpathsea4. I guess we have to port ptex to kpathsea5 if this is even necessary. H. -- Excusing bad programming is a shooting offence, no matter _what_ the circumstances. -- Linus Torvalds, to the linux-kernel list http://www.hilmar-preusse.de.vu/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org