[MPlayer-dev-eng] Linker error building mplayer
zahlenmeer at gmx.de
zahlenmeer at gmx.de
Tue Sep 29 13:52:25 CEST 2015
Hello,
I tried to build mplayer from source (svn checkout). Unfortunaly I get a linker error:
sub/sub.o: In function `vo_update_osd_ext':
sub.c:(.text+0x114d): undefined reference to 'kerning'
sub.c:(.text+0x1261): undefined reference to 'render_one_glyph'
I have disabled fontconfig and freetype in my build script.
So I took a look at the code. In sub/font_load.h there are the lines
#ifndef CONFIG_FREETYPE
void render_one_glyph(font_desc_t *desc, int c) {}
int kerning(font_desc_t *desc, int prevc, int c) { return 0; }
#endif
These should be enough to avoid the linking error, so why is it not working?
Kind regards
More information about the MPlayer-dev-eng
mailing list