View previous topic :: View next topic |
Author |
Message |
dinero2433 n00b
Joined: 18 Aug 2004 Posts: 9 Location: Saint Paul, MN
|
Posted: Wed Feb 02, 2005 6:24 pm Post subject: Still more problems emerging MPlayer |
|
|
Hi all,
I'm updating my box (emerge -uD world) and am running into a problem when trying to compile MPlayer:
Quote: | ...
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O2 -march=pentium4 -mcpu=i686-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o msmpeg4.o msmpeg4.c
msmpeg4.c: In function `msmpeg4_pred_dc':
msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[1]: *** [msmpeg4.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r5/work/MPlayer-1.0pre5try2/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed.
!!! Function src_compile, Line 444, Exitcode 2
!!! Failed to build MPlayer!
|
I've searched the forums for problems emerging MPlayer, but my problem hasn't been among them. Any ideas? |
|
Back to top |
|
|
rhialto n00b
Joined: 13 Jul 2002 Posts: 43 Location: Roermond - The Netherlands
|
Posted: Wed Feb 02, 2005 8:26 pm Post subject: |
|
|
Hi,
post your CFLAGS and USE flags, they might give us some more information on what's going on with your build. _________________ Adopt an unanswered post today! |
|
Back to top |
|
|
SNeKKe n00b
Joined: 05 Jan 2003 Posts: 29
|
Posted: Wed Feb 02, 2005 9:46 pm Post subject: |
|
|
Hi, I have this error too. Perhaps I might help.
Code: | .../usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference to `XGetWindowAttributes'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference to `XGetImage'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference to `XGetPixel'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference to `XQueryColors'
collect2: ld returned 1 exit status
make: *** [mencoder] Fout 1
!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed.
!!! Function src_compile, Line 444, Exitcode 2
!!! Failed to build MPlayer!
|
Code: | CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
USE="-3dfx -3Dnow acpi alsa -altivec -apm -arts avi cdr cups divx4linux doc -dvb
dvd -dvdr encode -esd exif foomaticdb java -kde mad -matrox mikmod memlimit
-motif -mozilla mpeg msn ncurses nocardbus oggvorbis opengl oss ppds -ev6 -evo
-fam -fastcgi fbcon gif gnome gphoto2 gstreamer gtk gtk2 gtkhtml imlib jpeg pdflib
png -qt quicktime readline sdl slang spell sse
tiff truetype usb videos -voodoo3 -wavelan wmf X xml2 -xmms xv xvid zlib"
|
I hope this information can be helpful. |
|
Back to top |
|
|
rhialto n00b
Joined: 13 Jul 2002 Posts: 43 Location: Roermond - The Netherlands
|
|
Back to top |
|
|
vonhelmet l33t
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Thu Feb 03, 2005 10:24 am Post subject: |
|
|
rhialto wrote: | Hi,
post your CFLAGS and USE flags, they might give us some more information on what's going on with your build. |
I'm pretty certain mplayer ignores custom CFLAGS and uses generic ones, because they got sick of all the problems people had with using absurd flags. _________________ My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200! |
|
Back to top |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Thu Feb 03, 2005 11:52 am Post subject: |
|
|
It did, but iirc, a latter ebuild doesnt ignore them, or it has a USE flag or envvar that can be set to not ignore them.
That register error is usually caused by a particular overoptimization, which is usually caused by having the CFLAG (Check if that is right, Im forgetting the exact names of my CFLAGS -_-).
If you have that, or one with a similar (correct) name, try removing it and compiling again |
|
Back to top |
|
|
desktopfan Tux's lil' helper
Joined: 06 Mar 2004 Posts: 134 Location: Scotland
|
Posted: Thu Feb 03, 2005 12:40 pm Post subject: |
|
|
SNeKKe,
Try emerging media-libs/giflib again |
|
Back to top |
|
|
janosch_daiw n00b
Joined: 20 Jan 2005 Posts: 9 Location: Bergisch Gladbach, NRW, DE
|
|
Back to top |
|
|
|