[MPlayer-dev-eng] [PATCH] Compile mplayer with ffmpeg 7311

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 13 12:52:19 CET 2006


Hi Diego!

On 2006-12-13 11:06, Diego Biurrun wrote:
> On Wed, Dec 13, 2006 at 11:13:51AM +0100, Carl Eugen Hoyos wrote:
> > 
> > Attached patch allows to compile mplayer with libavformat/x11grab.c
                               
s/mplayer/mencoder

> 
> Works fine here..

svn up
./configure && make

[...]

cc -o mencoder mencoder.o mp_msg-mencoder.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 
parser-mecmd.o xvid_vbr.o libmpcodecs/libmpencoders.a libmpdemux/libmpmux.a 
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a 
stream/stream.a libswscale/libswscale.a libvo/libosd.a 
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a 
libpostproc/libpostproc.a loader/libloader.a mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a 
libass/libass.a osdep/libosdep.a -ltoolame -ltwolame -lfaac -lx264 -lpthread 
-lmp3lame -Wl,-z,noexecstack   -lncurses -lsmbclient -lpng -lz -ljpeg -lungif 
-lasound -ldl -lpthread -L/usr/lib -ldvdnav -lpthread -lcdda_interface 
-lcdda_paranoia -lfreetype -lz -lfontconfig  -lz -lmad -lspeex  -ltheora 
-logg   -ldts 
-lmpcdec /usr/lib/live/liveMedia/libliveMedia.a            /usr/lib/live/groupsock/libgroupsock.a            /usr/lib/live/UsageEnvironment/libUsageEnvironment.a            /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a            
-lstdc++ -ldv -lxvidcore -lm  -lvstream-client -lpthread -ldl -rdynamic 
-llirc_client  -lm  
libavformat/libavformat.a(x11grab.o): In function `x11grab_read_close':
x11grab.c:(.text+0x46): undefined reference to `XShmDetach'
libavformat/libavformat.a(x11grab.o): In function `x11grab_read_header':
x11grab.c:(.text+0x1bb): undefined reference to `XShmQueryExtension'
x11grab.c:(.text+0x255): undefined reference to `XShmCreateImage'
x11grab.c:(.text+0x2bf): undefined reference to `XShmAttach'
libavformat/libavformat.a(x11grab.o): In function `x11grab_read_packet':
x11grab.c:(.text+0xbe7): undefined reference to `XShmGetImage'
collect2: ld returned 1 exit status
make: *** [mencoder] Fehler 1



More information about the MPlayer-dev-eng mailing list