[MPlayer-users] What x264 release to compile MPlayer 1.0rc1 against?

WireSpot wirespot at gmail.com
Wed Oct 25 02:15:28 CEST 2006


I've tried quite a few versions of x264 from SVN. They all make
MPlayer 1.0 rc1 fail compilation. Older versions fail while compiling
libavcodec:

x264.c: In function 'X264_init':
x264.c:149: error: 'struct <anonymous>' has no member named 'f_rf_constant'
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/usr/src/MPlayer-1.0rc1/libavcodec'

Recent versions fail when linking mplayer:

libavcodec/libavcodec.a(x264.o): In function `X264_close':
x264.c:(.text+0x1b): undefined reference to `x264_encoder_close'
libavcodec/libavcodec.a(x264.o): In function `X264_init':
x264.c:(.text+0x45): undefined reference to `x264_param_default'
x264.c:(.text+0x3ca): undefined reference to `x264_encoder_open'
x264.c:(.text+0x51a): undefined reference to `x264_encoder_headers'
x264.c:(.text+0x5c5): undefined reference to `x264_nal_encode'
libavcodec/libavcodec.a(x264.o): In function `X264_frame':
x264.c:(.text+0x70c): undefined reference to `x264_encoder_encode'
x264.c:(.text+0x767): undefined reference to `x264_nal_encode'
collect2: ld returned 1 exit status

What gives? I'm using gcc 4.1.2 from Debian unstable.



More information about the MPlayer-users mailing list