[Pkg-fonts-devel] Bug#555596: mensis: FTBFS with binutils-gold

Kęstutis Bilūnas kebil at kaunas.init.lt
Tue Dec 29 12:59:08 UTC 2009


forwarded 555596 fontforge-devel at lists.sourceforge.net
thanks

Hi George,

We got here a Debian bug:
------------------------------------
Tried to build your package and it fails to build with GNU
binutils-gold. The important difference is that --no-add-needed is the
default behavior of of GNU binutils-gold. Please provide all needed
libraries to the linker when building your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/sh ./libtool --mode=link gcc -o mensis mensis-ui.o start.o splashimage.o uiutil.o ttfview.o ttffile.o openfontdlg.o prefs.o cursors.o windowmenu.o psunicodenames.o ttfsave.o  scripting.o maxp.o OS2.o instrs.o binary.o shorts.o metrics.o _hea.o head.o post.o gasp.o VORG.o fontview.o conicutil.o charview.o freetype.o bcdebug.o instrmod.o stamp.lo  -lgdraw -lgutils -lgunicode -lSM -lICE -lX11  -ldl  -lgif -lm
libtool: link: gcc -o mensis mensis-ui.o start.o splashimage.o uiutil.o ttfview.o ttffile.o openfontdlg.o prefs.o cursors.o windowmenu.o psunicodenames.o ttfsave.o scripting.o maxp.o OS2.o instrs.o binary.o shorts.o metrics.o _hea.o head.o post.o gasp.o VORG.o fontview.o conicutil.o charview.o freetype.o bcdebug.o instrmod.o .libs/stamp.o  /usr/lib/libgdraw.so /usr/lib/libgutils.so /usr/lib/libgunicode.so -lSM -lICE -lX11 -ldl /usr/lib/libgif.so -lm 
/usr/bin/ld: freetype.o: in function FreeType_GetRaster:freetype.c:178: error: undefined reference to 'FT_Load_Glyph'
/usr/bin/ld: freetype.o: in function FreeType_GetRaster:freetype.c:144: error: undefined reference to 'FT_Init_FreeType'
/usr/bin/ld: freetype.o: in function FreeType_GetRaster:freetype.c:164: error: undefined reference to 'FT_New_Face'
/usr/bin/ld: freetype.o: in function FreeType_GetRaster:freetype.c:170: error: undefined reference to 'FT_Set_Pixel_Sizes'
/usr/bin/ld: freetype.o: in function FreeType_GetRaster:freetype.c:171: error: undefined reference to 'FT_Done_Face'
collect2: ld returned 1 exit status
make[1]: *** [mensis] Error 1
------------------------------------

How to do explicitly link against libfreetype6 (or maybe libfontconfig1)
library? I've been unable to do so correctly.

Best wishes,
-- 
Kęstutis Biliūnas <kebil at kaunas.init.lt>
http://kebil.ghost.lt  |  GnuPG-Key ID: F6E7A452






More information about the Pkg-fonts-devel mailing list