[MPlayer-users] MPlayer does not link to x264: undefined reference to `__log2f_finite'

andrew andrew at andrews-corner.org
Tue Aug 7 13:39:58 CEST 2012


On Tue, Aug 07, 2012 at 06:04:23PM +1000, andrew wrote:

> Oddly enough with the latest changes:
> 
> andrew at corinth:~$ mplayer | head -n 1
> MPlayer SVN-r35061-4.6 (C) 2000-2012 MPlayer Team
> 
> static x264 cannot be found at all. 

Oops, that was a result of a clumsy typo with --extra-ldflags, my
apologies for my stupidity. Looks like in fact the current svn has
located the static x264 and all is now well. Thank you very much for
all of your work with this issue :).

Andrew

============ Checking for x264 ============

#include <inttypes.h>
#include <x264.h>
#if !(X264_BUILD >= 118)
#error We do not support old versions of x264. Get the latest from git.
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--19712/tmp.c -Ilibdvdread4 -I. -Iffmpeg -I/home/andrew/mplayer_build/mplayer_deps/usr/include -D_REENTRANT -I/usr/include/directfb -I/usr/include/     -D_REENTRANT    -I/usr/include/freetype2  -L/home/andrew/mplayer_build/mplayer_deps/usr/lib -ffast-math   -lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread -lbluray -lcdda_interface -lcdda_paranoia -L/usr/lib/i386-linux-gnu -lfreetype -lz -lfontconfig  -lfribidi -lass -lenca -lz -lspeex -ltheoradec -logg -lmpg123 -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++ -lrtmp -lopencore-amrnb -lopencore-amrwb -ldv -lxvidcore  -ldirectfb  -lXext -lX11 -lpthread -lXv -lvdpau -lXinerama -lXxf86vm -lXxf86dga -laa -L/usr/lib/i386-linux-gnu -lcaca -lvga -lSDL -lGL -ldl -lesd   -lpulse   -ljack -lfaac  -lfaac -o /tmp/mplayer-configure--19712/tmp -lx264 -lpthread -lm


Result is: yes (in FFmpeg: yes)
##########################################
-- 
You think that's air you're breathing now?


More information about the MPlayer-users mailing list