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

Alan Larkin nobrow at eircom.net
Sat Jul 29 21:09:43 CEST 2006


Maciej Bliziński wrote:
> 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
> 

Try using one of the older revisions of x264. I had similar problems
trying to compile Cinelerra. The rate control api in x264 has undergone
some changes recently (so I was informed) and itll take a while for
dependent software to catch up. I had to go back one reversion to r536
to get it to work.

Good luck.

-- 
Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird




More information about the MPlayer-users mailing list