[MPlayer-dev-eng] [PATCH] regression: avcodec_pix_fmt_to_codec_tag undefined

Chi-Thanh Christopher Nguyen chithanh at cs.tu-berlin.de
Fri Jun 23 14:12:12 CEST 2006


Hi,

This is an error that was fixed before, but was introduced again:

gcc -I../libvo -I../../libvo  -O4  -mcpu=v9 -pipe -ffast-math 
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I.      -I/usr/sfw/include/freetype2 -I/usr/sfw/include 
-I/opt/csw/include -I/opt/csw/include/SDL -D_REENTRANT    -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    
libmpcodecs/libmpcodecs.a  libaf/libaf.a libmpdemux/libmpdemux.a 
postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit  
libavcodec/libavcodec.a  libavformat/libavformat.a  
libavutil/libavutil.a  libpostproc/libpostproc.a  -lmad  -ltheora   
-lmp3lame     -lz -ljpeg     -lspeex  -lfaac -L/usr/sfw/lib 
-R/usr/sfw/lib -lfreetype -lncurses  -lsocket -lnsl   -lungif 
-L/usr/X11R6/lib -lXext -lX11 -lsocket -lnsl    -L/opt/csw/lib -lfribidi 
-lfontconfig   libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a tremor/libvorbisidec.a  -laa -lGL       
-L/usr/X11R6/lib -lXext -lX11 -lsocket -lnsl  -lsocket -lnsl 
-L/opt/csw/lib -R/opt/csw/lib -lSDL -lpthread -lposix4         
-L/opt/csw/kde-gcc/lib -ldl -lartsc -lpthread -L/opt/csw/lib 
-lgmodule-2.0 -ldl -lgthread-2.0 -lthread -lglib-2.0 -lintl -liconv 
-L/usr/lib -lesd -laudiofile -lm -lrt -lresolv -lnsl -lsocket   -laudio 
-lXt -L/usr/X11R6/lib -lXext -lX11 -lsocket -lnsl         -lposix4 
-lkstat     -liconv -lm
Undefined                       first referenced
 symbol                             in file
avcodec_pix_fmt_to_codec_tag        libavformat/libavformat.a(utils.o)
ld: fatal: Symbol referencing errors. No output written to mplayer
collect2: ld returned 1 exit status
gmake-3.80: *** [mplayer] Error 1

See also 
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2005-May/034446.html

Patch to fix this is attached.


Regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avcodec_pix_fmt_to_codec_tag_undefined.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060623/27c74715/attachment.bin>


More information about the MPlayer-dev-eng mailing list