Subject: print/teTeX build failure on Solaris 9/sparc
To: None <kei@NetBSD.org>
From: John D. Baker <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 04/24/2004 22:21:50
Trying to build print/teTeX on Solaris 9/sparc fails as follows:
[...]
./../klibtool link g++ -o pdftex -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdftexextra.o pdftexdir/libpdf.a -L/usr/pkg/lib -lpng -L/usr/pkg/lib -lz ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a -lsocket lib/lib.a ../kpathsea/libkpathsea.la -lm -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc -lc -lgcc
g++ -o pdftex -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdftexextra.o pdftexdir/libpdf.a -L/usr/pkg/lib -lpng -L/usr/pkg/lib -lz ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a -lsocket lib/lib.a ../kpathsea/STATIC/libkpathsea.a -lm -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc -lc -lgcc
Undefined first referenced
symbol in file
_Unwind_Resume pdftexdir/libpdf.a(pdftoepdf.o) (symbol belongs to implicit dependency /usr/pkgsrc/print/teTeX-bin/work/.buildlink/gcc3/lib/libgcc_s.so.1)
ld: fatal: Symbol referencing errors. No output written to pdftex
collect2: ld returned 1 exit status
gmake[2]: *** [pdftex] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk'
gmake: *** [all] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/print/teTeX-bin
[...]
Back about the beginning of April 2004 I started rebuilding all of the
pkgsrc-derived software I used, starting with lang/gcc3 to pick up
gcc-3.3.3. teTeX is a must-have application, so it's distressing to find
that it appears to have broken in the recent updates.
Thanks.
--
John D. Baker, KN5UKS NetBSD Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com OpenBSD FreeBSD
BSD -- It just sits there and _works_!