[MPlayer-dev-eng] Mplayer SVN build error
Diego Biurrun
diego at biurrun.de
Wed Oct 11 17:53:06 CEST 2006
On Mon, Oct 09, 2006 at 03:02:06AM -0700, Unga wrote:
>
> I tried to enable only the codecs/formats I want.
*sigh*, the patent-avoidance delusion strikes back.
> I commented out following lines from the configure
> script:
>
> #_libavdecoders=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
> #_libavencoders=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
> #_libavparsers=`grep 'av_register_codec_parser(&[a-z]' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
> #_libavdemuxers=`grep 'av_register_input_format(&[a-z]' libavformat/allformats.c | sed 's/.*&\(.*\)).*/\1/'`
> #_libavmuxers=`grep 'av_register_output_format(&[a-z]' libavformat/allformats.c | sed 's/.*&\(.*\)).*/\1/'`
>
> My configure line was:
> ./configure --prefix=/usr --enable-gui --enable-menu \
> --confdir=/etc/mplayer --enable-largefiles \
> --with-codecsdir=/usr/lib/codecs --disable-faad-internal \
> --disable-real --disable-faac --disable-mp3lib \
> --disable-liba52 --disable-libmpeg2 --disable-win32 \
> --enable-encoder=oggvorbis --enable-encoder=flac --enable-encoder=vorbis \
> --enable-decoder=oggvorbis --enable-decoder=theora \
> --enable-decoder=flac --enable-decoder=vorbis \
> --enable-parser=mjpeg --enable-parser=pnm \
> --enable-muxer=ogg --enable-muxer=flac \
> --enable-demuxer=ogg --enable-demuxer=flac
>
>
> It develops following compilation error:
>
> libmpdemux/libmpdemux.a(demux_lavf.o)(.text+0xa55): In
> function `demux_open_lavf':
> demux_lavf.c: undefined reference to
> `codec_get_bmp_tag'
> libmpdemux/libmpdemux.a(demux_lavf.o)(.text+0xc6e):demux_lavf.c:
> undefined reference to `codec_get_wav_tag'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
libmpdemux/demux_lavf.c uses some functions from libavcodec/riff.c
which is not getting compiled. Not easy to fix with the current design
of the build system. Patches welcome.
If you start commenting out lines in configure in this way you will
have to help yourself...
Diego
More information about the MPlayer-dev-eng
mailing list