[pdftex] make (pdftex-20010126) pdftexbin fails on SUN gcc 2.95.2
Han The Thanh
thanh at informatics.muni.cz
Sun Mar 11 11:22:50 CET 2001
Dear Bill,
> Many thanks for your helpful and speedy reply. I have
> progressed the installation a little with your help.
>
> I have create and compiled dlsym.c as you suggested and inserted it
> into a copy of libc.a "make" fails kpsewhich as before as expected
yes you need to put the modified libc.a somewhere so the linker will find
it before the system' one.
> gcc -o pdftex -static pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdftexextra.o pdftexdir/libpdf.a ../../libs/libtiff/libtiff.a ../../libs/libpng/libpng.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a lib/lib.a ../kpathsea/STATIC/libkpathsea.a /tmp/pdftex/libc.a /opt/gcc295/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/libgcc.a -lm
> Undefined first referenced
> symbol in file
> __builtin_delete pdftexdir/libpdf.a(pdftoepdf.o)
> __builtin_new pdftexdir/libpdf.a(pdftoepdf.o)
> __rtti_user ../../libs/xpdf/xpdf/libxpdf.a(GfxState.o)
> terminate(void) pdftexdir/libpdf.a(pdftoepdf.o)
> __builtin_vec_new pdftexdir/libpdf.a(pdftoepdf.o)
> __builtin_vec_delete ../../libs/xpdf/goo/libGoo.a(GString.o)
> __rtti_si ../../libs/xpdf/xpdf/libxpdf.a(GfxState.o)
> ld: fatal: Symbol referencing errors. No output written to pdftex
> collect2: ld returned 1 exit status
I think that someone had this problem as well and the solution was to use
g++ instead of gcc for linking. Anyway, I put a binary version for solris
of the latest pdftex on the same location
(ftp://ftp.cstug.cz/pub/tex/local/cstug/thanh/pdftex/...)
Regards,
Thanh
More information about the pdftex
mailing list