Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer is not compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Mr.QNo
n00b
n00b


Joined: 21 Mar 2005
Posts: 74

PostPosted: Sun Nov 06, 2005 4:56 pm    Post subject: mplayer is not compiling Reply with quote

Hiho,

mplayer 1.0_pre7-r1 is not compilingon an athlon 64 system, complaining about a missing -fPIC Flag. I tried to help:

multi / # export CFLAGS="-fPIC"
multi / # export CXXFlAGS=$CFLAGS

multi / # emerge -vp mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] media-video/mplayer-1.0_pre7-r1 [1.0_pre7] (-3dfx) (-3dnow) (-3dnowext) +X -aac -aalib +alsa (-altivec)+arts -bidi -bl +cdparanoia -cpudetection +custom-cflags* -debug -dga +directfb +doc -dts -dv +dvb +dvd -dvdread -edl +encode +esd +fbcon -ggi +gif +gtk +i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad -matroska -matrox (-mmx) (-mmxext) -mythtv -nas +nls -nvidia +opengl -oss +png +real -rtc +samba* +sdl (-sse) (-sse2) (-svga) -tga +theora +truetype* +v4l +v4l2 +vorbis (-win32codecs) -xanim -xinerama +xmms +xv -xvid -xvmc 6,707 kB

Total size of downloads: 6,707 kB

multi/ # emerge mplayer
[...]
Config files successfully generated by ./configure !

Install prefix: /usr
Data directory: /usr/share/mplayer
Config direct.: /usr/share/mplayer

Byte order: little-endian
Optimizing for:

Languages:
Messages/GUI: de
Manual pages: de en

Enabled optional drivers:
Input: ftp network tv-v4l2 tv-v4l tv cdda mpdvdkit2 vcd dvb smb
Codecs: libavcodec real libmpeg2 liba52 mp3lib libtheora tremor(internal) libmad gif
Audio output: alsa esd arts mpegpes(dvb)
Video output: gif89a md5sum pnm jpeg png mpegpes(dvb) fbdev opengl xv x11 xover dfbmga directfb
Audio filters:
Disabled optional drivers:
Input: vstream tv-bsdbt848 edl live.com matroska dvdread
Codecs: qtx opendivx x264 xvid libdv amr_wb amr_nb xanim dshow/dmo win32 faad2 libdts toolame liblzo
Audio output: sgi sun jack polyp oss dxr2 nas dsound win32 sdl macosx
Video output: xvidix winvidix cvidix bl zr zr2 dxr3 dxr2 directx sdl vesa svga caca aa ggi xmga mga dga xvmc tga tdfx_vid tdfxfb 3dfx quartz
Audio filters: ladspa
[...]
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre7-r1/work/MPlayer-1.0pre7try2/libmenu'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fPIC -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I. -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include -I/usr/src/linux/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.alibao2/libao2.a libmenu/libmenu.a Gui/libgui.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a -lmad -ltheora -logg -lmp3lame -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib64/libxmms.so.1 -export-dynamic -lfreetype -lz -lcdda_interface -lcdda_paranoia -lnsl -lgif -lsmbclient -lfontconfig mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lX11 -lm -L/usr/lib64 -lglib -lGL -lXv -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -ldirectfb -L/usr/kde/3.4/lib64 -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib64 -lesd -laudiofile -lm -lasound -llirc_client -lpthread -ldl -rdynamic -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: libvo/libvo.a(osd.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libvo/libvo.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
make: *** [mplayer] Fehler 1

cc is called with flag -fPIC, but it seems something went wrong. Something i have to change, or is it a bug?

TIA
Chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum