Re: [MPlayer-dev-eng] Linker error building mplayer
Can anyone help? I tried some more. When I exclude --disable-freetype from my build script it works fine, but the moment I add that line I get the described linker error. I took a look at config.h and CONFIG_FREETYPE is undef'ed, as expected. But when I use --disable-freetype as the only confirgure option (apart from --confdir) I can build mplayer successfully. I would like to try out more combinations of build flags, but since compliling always takes a lot of time it would be good to know where to start: Are there any options that compete with --disable-freetype, other options that are automatically required when I use this flag? -----Original message----- Sent: Tuesday, 29 September 2015, 13:52:25 From: zahlenmeer@gmx.de To: mplayer-dev-eng@mplayerhq.hu Subject: [MPlayer-dev-eng] Linker error building mplayer 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 _______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
participants (1)
-
zahlenmeer@gmx.de