[MPlayer-users] Mplayer compile --with-xvmc fails

Ethan Arnold e.arnold at sim-zone.de
Sun Jan 1 02:30:39 CET 2006


This is what I did:

cd /usr/src
cvs -z3 -d:pserver:anonymous at cvs.xvid.org:/xvid login
cvs -z3 -d:pserver:anonymous at cvs.xvid.org:/xvid co xvidcore
cd xvidcore/build/generic
./bootstrap.sh
./configure
make && make install
cd /usr/src
cvs -d:pserver:anonymous at mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/mplayer co -P main
cvs -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg
Copied the libavcodec, libavformat and libavutil subdirectories into the
main directory just created from the MPlayer checkout.
download
http://www.openchrome.org/snapshots/mplayer/mplayer-uni-20050926.diff to
/usr/src/mplayer
cd mplayer/main
patch -Np0 < ../mplayer-uni-20050926.diff
./configure --enable-xvmc --with-xvidlibdir=/usr/local/lib/
--with-xvidincdir=../../xvidcore/src/
make

And this is what I got (only the last page of course):

cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=i686
-mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.
-I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include -I../../xvidcore/src/  -I./libavutil -I./libavcodec  -o
mplayer mplayer.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
vidix/libvidix.a  libmpcodecs/libmpcodecs.a   libaf/libaf.a
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a
osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a   -lmad     -lmp3lame
-L/usr/local/lib/ -lxvidcore  -lpng -lz -lz -ljpeg -lasound -ldl -lpthread
-lGL -ldl -lXxf86dga -lXv -lXvMC -lXvMCW -lXxf86vm -lXinerama
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -lfreetype -lz -lncurses
-lnsl  -lgif  -lsmbclient  -lfontconfig   libfaad2/libfaad2.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
-lGL -ldl -lXxf86dga -lXv -lXvMC -lXvMCW -lXxf86vm -lXinerama
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -lSDL -lpthread    -lvga
-ldirectfb    -L/usr/kde/3.4/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0       -Wl,-z,noexecstack     -lpthread -ldl    -lm
libavcodec/libavcodec.a(allcodecs.o)(.text+0x35a): In function
`avcodec_register_all':
: undefined reference to `mpeg_xxmc_decoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

My make.conf:
CFLAGS="-mcpu=i686 -Os -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
USE="alsa directfb divx4linux dri drm fbcon ffmpeg flash mpeg4 mplayer mmx
nvidia xv xvid cle266 xvmc xxmc unichrome"
# MAKEOPTS="-j5"
FEATURES="ccache"
CCACHE_SIZE="2G"
VIDEO_CARDS="via"
ALSA_CARDS="via82xx"


I've seached around a lot for that error message, found a few people who
also had it, but no clear solution.


Regards,
Ethan

-- 
Sim-Zone Flight Simulation
Voltastr. 5
65795 Hattersheim
Tel: +49 (0)6190-975-374
Fax: +49 (0)6190-975-626
www.sim-zone.de 





More information about the MPlayer-users mailing list