[tex-k] FAIL: tests/ttf.test

Peter Breitenlohner peb at mppmu.mpg.de
Wed Nov 7 10:34:14 CET 2012


On Wed, 7 Nov 2012, Jindrich Novy wrote:

> On Wed, Nov 07, 2012 at 05:58:49PM +0900, Norbert Preining wrote:
>> On Mi, 07 Nov 2012, Norbert Preining wrote:
>>> So it seems that the compile process somehow picks up the wrong icu.
>>
>> Or the symbolization (whatever the proper name might be) did go wrong.
>> I see:
>> $ g++ -g -O2 -o xetex xetex-xetexextra.o xetex-synctex.o xetex-xetexini.o xetex-xetex0.o xetex-xetex-pool.o libxetex.a /src/TeX/texlive-svn/Build/source/Work/libs/icu/icu-build/lib/libicule.a /src/TeX/texlive-svn/Build/source/Work/libs/icu/icu-build/lib/libicuuc.a /src/TeX/texlive-svn/Build/source/Work/libs/icu/icu-build/lib/libicudata.a /src/TeX/texlive-svn/Build/source/Work/libs/teckit/libTECkit.a /src/TeX/texlive-svn/Build/source/Work/libs/poppler/libpoppler.a /src/TeX/texlive-svn/Build/source/Work/libs/libpng/libpng.a -lfontconfig /src/TeX/texlive-svn/Build/source/Work/libs/graphite/libgraphite.a /src/TeX/texlive-svn/Build/source/Work/libs/freetype2/libfreetype.a /src/TeX/texlive-svn/Build/source/Work/libs/zlib/libz.a lib/lib.a /src/TeX/texlive-svn/Build/source/Work/texk/kpathsea/.libs/libkpathsea.a -lm -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc_eh -lgcc -lc -lgcc_eh -lgcc
>> libxetex.a(libxetex_a-XeTeXOTLayoutEngine.o):(.rodata._ZTV19XeTeXOTLayoutEngine[_ZTV19XeTeXOTLayoutEngine]+0x28): undefined reference to `icu_50::OpenTypeLayoutEngine::characterProcessing(unsigned short const*, int, int, int, signed char, unsigned short*&, icu_50::LEGlyphStorage&, LEErrorCode&)'
>>
>>
>> ... plus many more
>>
>> Checking the actual .a I see that the OpenTypeLayoutEngine::characterProcessing
>> somehow appears in libicule.a, so it should be found, but it seems
>> that some of the names are wrong.

Hi Jindrich and Norbert,

according to the msg above the first undefined reference is
   icu_50::OpenTypeLayoutEngine::characterProcessing(unsigned short const*,
     int, int, int, signed char, unsigned short*&, icu_50::LEGlyphStorage&,
     LEErrorCode&)
so please verify that libs/icu/icu-build/lib/libicule.a defines exactly this.

BTW: I use gcc 4.4.7 and have icu 50.1 (release) installed under /usr/local
but I assume that your system-icu is under /usr.

Regards
Peter


More information about the tex-k mailing list