[Mplayer-users] TOOLS/subfont-c/Makefile messed up?

Folke Ashberg folke at ashberg.de
Sat Aug 18 04:22:54 CEST 2001


Hi!

seems that gcc can't find the libs necessary for linking.
Where are libfreetype.a and libm.a on your system?
Try copying to /usr/lib or add with -L<pathname> to
/TOOLS/subfont-c/Makefile (to line LDLIBS).


Regards

FolkeA


On Sat, 18 Aug 2001, André Dahlqvist wrote:

> Following up to myself, I can't get subfont.c to compile even when using
> straight gcc. This is with FreeType 2 (2.0.2.20010514-1) on Debian/Sid.
> As a temporary solution, could someone mail me a binary of subfont?
>
> The errors I get are:
>
> /tmp/ccLeW4MC.o: In function `render':
> /tmp/ccLeW4MC.o(.text+0x3f4): undefined reference to `FT_Init_FreeType'
> /tmp/ccLeW4MC.o(.text+0x441): undefined reference to `FT_New_Face'
> /tmp/ccLeW4MC.o(.text+0x4d3): undefined reference to `FT_Set_Charmap'
> /tmp/ccLeW4MC.o(.text+0x521): undefined reference to `FT_Set_Pixel_Sizes'
> /tmp/ccLeW4MC.o(.text+0x636): undefined reference to `FT_Set_Pixel_Sizes'
> /tmp/ccLeW4MC.o(.text+0x699): undefined reference to `FT_Load_Char'
> /tmp/ccLeW4MC.o(.text+0x989): undefined reference to `FT_Get_Char_Index'
> /tmp/ccLeW4MC.o(.text+0x9f0): undefined reference to `FT_Load_Glyph'
> /tmp/ccLeW4MC.o(.text+0xa46): undefined reference to `FT_Get_Glyph'
> /tmp/ccLeW4MC.o(.text+0xa60): undefined reference to `FT_Glyph_Get_CBox'
> /tmp/ccLeW4MC.o(.text+0xcb9): undefined reference to `FT_Get_Char_Index'
> /tmp/ccLeW4MC.o(.text+0xce0): undefined reference to `FT_Load_Glyph'
> /tmp/ccLeW4MC.o(.text+0xd04): undefined reference to `FT_Render_Glyph'
> /tmp/ccLeW4MC.o(.text+0xdb8): undefined reference to `FT_Done_FreeType'
> /tmp/ccLeW4MC.o: In function `alpha':
> /tmp/ccLeW4MC.o(.text+0x1649): undefined reference to `ceil'
> /tmp/ccLeW4MC.o(.text+0x1678): undefined reference to `ceil'
> /tmp/ccLeW4MC.o(.text+0x16d2): undefined reference to `log'
> /tmp/ccLeW4MC.o(.text+0x17ff): undefined reference to `exp'
> /tmp/ccLeW4MC.o(.text+0x19d5): undefined reference to `sqrt'
> /tmp/ccLeW4MC.o: In function `main':
> /tmp/ccLeW4MC.o(.text+0x1f19): undefined reference to `ceil'
> /tmp/ccLeW4MC.o(.text+0x1f33): undefined reference to `ceil'
> collect2: ld returned 1 exit status
>
> Any clues Arthur?
>



_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list