Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Still more problems emerging MPlayer
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
dinero2433
n00b
n00b


Joined: 18 Aug 2004
Posts: 9
Location: Saint Paul, MN

PostPosted: Wed Feb 02, 2005 6:24 pm    Post subject: Still more problems emerging MPlayer Reply with quote

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
View user's profile Send private message
rhialto
n00b
n00b


Joined: 13 Jul 2002
Posts: 43
Location: Roermond - The Netherlands

PostPosted: Wed Feb 02, 2005 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
SNeKKe
n00b
n00b


Joined: 05 Jan 2003
Posts: 29

PostPosted: Wed Feb 02, 2005 9:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
rhialto
n00b
n00b


Joined: 13 Jul 2002
Posts: 43
Location: Roermond - The Netherlands

PostPosted: Thu Feb 03, 2005 9:54 am    Post subject: Re: Still more problems emerging MPlayer Reply with quote

dinero2433 wrote:


I've searched the forums for problems emerging MPlayer, but my problem hasn't been among them. Any ideas?


dinero, try google, my search for "GENERAL_REGS mplayer" turned up numerous similar problem reports http://thread.gmane.org/gmane.comp.video.mplayer.user/34721 for example
_________________
Adopt an unanswered post today!
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Thu Feb 03, 2005 10:24 am    Post subject: Reply with quote

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
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Thu Feb 03, 2005 11:52 am    Post subject: Reply with quote

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
Code:
-fno-inline
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
View user's profile Send private message
desktopfan
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 134
Location: Scotland

PostPosted: Thu Feb 03, 2005 12:40 pm    Post subject: Reply with quote

SNeKKe,

Try emerging media-libs/giflib again
Back to top
View user's profile Send private message
janosch_daiw
n00b
n00b


Joined: 20 Jan 2005
Posts: 9
Location: Bergisch Gladbach, NRW, DE

PostPosted: Fri Feb 04, 2005 7:18 pm    Post subject: Reply with quote

This seems to occur, if you want to compile mplayer with the USE flag "-xmms":
https://forums.gentoo.org/viewtopic.php?t=285507

Workarounds are given here :)
_________________
I beat the Swordmaster!
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