[MPlayer-users] Compilation Error

The Master da_master937 at hotmail.com
Fri Oct 25 04:22:01 CEST 2002


>On Thu, Oct 24, 2002 at 04:12:33AM +0000, The Master wrote:
>>gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
>>-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux 
>>-Iloader -Ilibvo -I-I/usr/include -I/usr/include/dvdnav    
>>-I/usr/include/SDL -D_REENTRANT  -o mplayer mplayer.o mp_msg.o cpudetect.o 
>>codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o 
>>asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o unrarlib.o mixer.o 
>>libvo/libvo.a libao2/libao2.a vidix/libvidix.a  libmpcodecs/libmpcodecs.a 
>>mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a 
>>loader/dshow/libDS_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a 
>>input/libinput.a postproc/libpostproc.a linux/libosdep.a -Llibmpdvdkit2 
>>-lmpdvdkit -L/usr/lib -ldvdnav -ldvdread -lpthread -lavcodec  -lmad 
>>-lvorbis -logg     -ldivxdecore -lpng -lz -lz -ljpeg    -ltermcap  -lnsl   
>>-L/usr/lib -lSDL -lpthread   -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama 
>>-L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl        -L/usr/lib -ldl 
>>-lartsc -lpthread      -lpthread -ldl -rdynamic  -lm
>>libmpcodecs/libmpcodecs.a(vf_lavc.o)(.text+0xb2): In function `open':
>>: undefined reference to `avcodec_alloc_context'
>>/usr/bin/ld: mp3lib/libMP3.a(sr1.o)(.text+0x74): unresolvable relocation 
>>against symbol `decwin'
>>collect2: ld returned 1 exit status
>>make: *** [mplayer] Error 1

>Try to cvs update your libavcodec. This should have happened
>automatically if you installed the libavcodec dir according to the
>docs.

>Rich

I tried that, and I tried deleting my 'main' folder where the mplayer cvs is 
and re-getting it all from cvs, and it still failed to compile.






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the MPlayer-users mailing list