[MPlayer-users] Problem compiling MPlayer & XVideo

Bugat Stéphane stephane.bugat at free.fr
Sat Jun 7 14:34:24 CEST 2003


Hi

I'm trying to compile the latest snapshot of MPlayer with XVideo, but during 
the make I get the following message :

make[1]: Leaving directory `/home/sauvegarde/MPlayer/MPlayer-0.90pre8/Gui'
./darwinfixlib.sh 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 mixer.o mp-opt-reg.o    
libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a 
libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a 
linux/libosdep.a postproc/libpostproc.a input/libinput.a libvo/libvo.a 
libdha/libdha.so vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a Gui/libgui.a
gcc -W -Wall -O2 -march=pentium3 -mcpu=pentium3 -g  -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo 
-I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   
-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 mixer.o mp-opt-reg.o 
libvo/libvo.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a libavcodec/libavcodec.a  libmpdemux/libmpdemux.a 
input/libinput.a postproc/libpostproc.a linux/libosdep.a    -lasound -ldl 
-lpthread -L/usr/lib -ldl -lartsc -lpthread   -lvorbis -logg   -Llibmpdvdkit2 
-lmpdvdkit -L/usr/lib -ldvdnav -ldvdread -lpthread -lxvidcore -ldv   -lnsl  
-lz -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm -lglib -lpng -lz -ljpeg   -lpthread -ldl   -lm  libao2/libao2.a 
-L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama  
-lnsl    -L/usr/lib -lSDL -lpthread     vidix/libvidix.a Gui/libgui.a
/usr/local/lib/libxvidcore.a(fdct_mmx.o)(.text+0x0): In function `fdct_mmx':
: multiple definition of `fdct_mmx'
libavcodec/libavcodec.a(fdct_mmx.o)(.text+0x0):/home/sauvegarde/MPlayer/MPlayer-0.90pre8/libavcodec/i386/fdct_mmx.c:271: 
first defined here
collect2: ld returned 1 exit status
make: *** [mplayer] Erreur 1

Obviously fdct_mmx is defined twice, one in liavcodec, and one in xvidcore. I 
tried to find someone else on the mailing list with the same problem but null 
result...

Could you help me ? Thanks a lot.

S. Bugat



More information about the MPlayer-users mailing list