[MPlayer-dev-eng] Mplayer SVN build error
Unga
unga888 at yahoo.com
Mon Oct 9 12:02:06 CEST 2006
Hi
I tried to enable only the codecs/formats I want.
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:
cc -Wdeclaration-after-statement -fno-PIC -O4
-march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-I/usr/X11R6/include -I/usr/include/
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include
-I/usr/include/dvdnav -I/usr/include/freetype2
-I/usr/include -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2
-I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I. -I./libavutil -I./libavcodec -o mplayer mplayer.o
m_property.o mp_msg.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o
m_struct.o parser-cfg.o playtree.o playtreeparser.o
spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o
mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a input/libinput.a libmenu/libmenu.a
Gui/libgui.a -lgtk-x11-2.0 -lglib-2.0
libmpcodecs/libmpcodecs.a libaf/libaf.a
libmpdemux/libmpdemux.a stream/stream.a
libswscale/libswscale.a osdep/libosdep.a
-Wl,-z,noexecstack -L/usr/lib -ldvdnav -lpthread
libavformat/libavformat.a libavcodec/libavcodec.a
libavutil/libavutil.a libpostproc/libpostproc.a
-ldv -ltheora -llzo -lpng -lz -lz -ljpeg
-lasound -ldl -lpthread -lspeex -lncurses
-lcdda_interface -lcdda_paranoia -lnsl -lungif
-lsmbclient -L/usr/lib -lfribidi -lpthread -ldl
-rdynamic -lm tremor/libvorbisidec.a
libass/libass.a -lfontconfig -lfreetype -lz -laa -lGL
-ldl -lXxf86dga -lXv -lXxf86vm -lXinerama
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib
-lncurses -lncurses vidix/libvidix.a -L/usr/lib -ldl
-lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0
-lopenal
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
Appreciate an early fix for this if this is an error.
Best Regards
Unga
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MPlayer-dev-eng
mailing list