[tlbuild] link error for pdftosrc on aix

Peter Breitenlohner peb at mppmu.mpg.de
Wed Jun 3 16:45:52 CEST 2009


On Wed, 3 Jun 2009, Vladimir Volovich wrote:

> i'm getting the following link error on aix. do you hve an idea what's
> wrong? where are the listed undefined symbols supposed to come from?
> please let me know if you have an idea, before i have to delve into it.
>
> /bin/bash ./libtool --tag=CXX   --mode=link xlC  -O2 -qmaxmem=262144 -qarch=com -qlanglvl=extended   -o pdftosrc pdftosrc-pdftosrc.o libpdftex.a /usr/local/vvv/src/source/Work/libs/libpng/libpng.a /usr/local/vvv/src/source/Work/libs/zlib/libz.a /usr/local/vvv/src/source/Work/libs/xpdf/libxpdf.a /usr/local/vvv/src/source/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /usr/local/vvv/src/source/Work/texk/kpathsea/libkpathsea.la -lm
> libtool: link: xlC -O2 -qmaxmem=262144 -qarch=com -qlanglvl=extended -o pdftosrc pdftosrc-pdftosrc.o  libpdftex.a /usr/local/vvv/src/source/Work/libs/libpng/libpng.a /usr/local/vvv/src/source/Work/libs/zlib/libz.a /usr/local/vvv/src/source/Work/libs/xpdf/libxpdf.a /usr/local/vvv/src/source/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /usr/local/vvv/src/source/Work/texk/kpathsea/.libs/libkpathsea.a -lm
> ld: 0711-317 ERROR: Undefined symbol: poolsize
> ...........
> ld: 0711-317 ERROR: Undefined symbol: fixedinclusioncopyfont
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> gmake[5]: *** [pdftosrc] Error 8
> gmake[5]: Leaving directory `/usr/local/vvv/src/source/Work/texk/web2c'
> gmake[4]: *** [all-recursive] Error 1

Hi Vladimir,

no real idea but a suspicion. Could it be that these symbols are declared
extern but never defined and never used, and that the linker nevertheless
wants to resolve them?

If so, why does this only occur for pdftosrc?

Or this is yet another library ordering problem.

Regards
Peter


More information about the tlbuild mailing list