[MPlayer-users] Compile MPlayer on Debian Lenny

The Wanderer inverseparadox at comcast.net
Thu Apr 30 12:28:25 CEST 2009


shacky wrote:

> Hi. I need to compile MPlayer 1.0rc1 on my Debian Lenny.

Why rc1? That's very old.

At the minimum, you should use rc2, which is still well over a year old
now. Preferably, you should use the latest source code from SVN.

> I cannot use the version in the Debian repository because I also need
> mencoder (which is not there) and I cannot use the Marillat versions
> of MPlayer and Mencoder because their version is not compatible with
> the software I have to use (MediaShareSuite).
> 
> When I run the compilation process with "fakeroot debian/rules
> binary" I get this errors and it doesn't compile:
> 
> cc   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m
> -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/directfb
> -I/usr/include -I/usr/include/  -I/usr/include/SDL -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -I/usr/include/freetype2 -I/usr/include
> -I/usr/include/liveMedia -I/usr/include/UsageEnvironment
> -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock  -c -o
> x264.o x264.c
> x264.c: In function 'X264_init':
> x264.c:162: error: 'x264_param_t' has no member named 'b_bframe_adaptive'
> x264.c:225: error: 'struct <anonymous>' has no member named 'b_bframe_rdo'
> x264.c:250: error: 'struct <anonymous>' has no member named 'psz_rc_eq'
> make[2]: *** [x264.o] Error 1
> make[2]: Leaving directory `/usr/local/src/MPlayer-1.0rc1/libavcodec'
> make[1]: *** [libavcodec/libavcodec.a] Error 2
> make[1]: Leaving directory `/usr/local/src/MPlayer-1.0rc1'
> make: *** [build-stamp] Error 2
> 
> Could you help me to solve this problem, please?

Your version of X264 (or, at least, the corresponding development
headers) does not match the version which that particular version of
MPlayer requires. Either use a version of the MPlayer source which works
with the version of X264 which you have available, or install a version
fo X264 which works with the version of the MPlayer source you are
trying to compile.

Or else just disable X264 at compile time.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.


More information about the MPlayer-users mailing list