[MPlayer-users] To build the 2006-07-01 revision

Maciej Bliziński m.blizinski at wit.edu.pl
Sat Jul 29 19:55:53 CEST 2006


Hello all,

I'm trying to build the 2006-07-01 trunk version of the code from
Subversion. To do so, I issue following commands:

svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer-2006-07-01 -r
'{2006-07-01}'
cd mplayer-2006-07-01
./configure && make

But unfortunately, the sources won't build. I get an error:

cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC
-march=pentium4 -O3 -pipe -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I..
-I/home/maciej/src/mplayer-2006-07-01/libavutil -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE    -c -o x264.o x264.c
x264.c: In function `X264_init':
x264.c:146: error: structure has no member named `i_rc_method'
x264.c:146: error: `X264_RC_CRF' undeclared (first use in this function)
x264.c:146: error: (Each undeclared identifier is reported only once
x264.c:146: error: for each function it appears in.)
x264.c:149: error: structure has no member named `i_rc_method'
x264.c:149: error: `X264_RC_CQP' undeclared (first use in this function)
x264.c:156: error: structure has no member named `i_rc_method'
x264.c:156: error: `X264_RC_ABR' undeclared (first use in this function)
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory
`/home/maciej/src/mplayer-2006-07-01/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

I've tried every single day from 2006-07-01 up to 2006-07-24 and no
single day builds successfully. Am I missing something about the
checkout?

Just a note: I don't need x264; I need only the TV input and v4l2
driver. I tried to disable x264, but then another error occurs:

demux_lavf.c:(.text+0x9d0): undefined reference to `codec_get_bmp_tag'
demux_lavf.c:(.text+0xbed): undefined reference to `codec_get_wav_tag'
libavcodec/libavcodec.a(allcodecs.o): In function
`avcodec_register_all':
allcodecs.c:(.text+0x1f1): undefined reference to `x264_encoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Disabling the mpdvdkit yields another error:

libmpdemux/libmpdemux.a(demux_lavf.o): In function `demux_open_lavf':
demux_lavf.c:(.text+0x9d0): undefined reference to `codec_get_bmp_tag'
demux_lavf.c:(.text+0xbed): undefined reference to `codec_get_wav_tag'
libavcodec/libavcodec.a(allcodecs.o): In function
`avcodec_register_all':
allcodecs.c:(.text+0x1f1): undefined reference to `x264_encoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

I'm out if ideas. How to build the 2006-07-01 sources?

Regards,
Maciej

-- 
Maciej Bliziński <m.blizinski at wit.edu.pl>
http://automatthias.wordpress.com




More information about the MPlayer-users mailing list