Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: media-video/mplayer-1.0_rc1 failed <RESOLVED>
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Wed Jan 10, 2007 10:50 am    Post subject: ERROR: media-video/mplayer-1.0_rc1 failed <RESOLVED> Reply with quote

Hi

Trying to compile the latest mplayer in x86 but I get the following error:

Code:
h264.c: At top level:
h264.c:8652: warning: missing initializer
h264.c:8652: warning: (near initialization for 'h264_parser.next')
In file included from h264.c:8655:
svq3.c: In function 'svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
cabac.h:106: warning: 'put_cabac_static' defined but not used
cabac.h:152: warning: 'put_cabac_terminate' defined but not used
cabac.h:180: warning: 'put_cabac_u' defined but not used
cabac.h:215: warning: 'put_cabac_ueg' defined but not used
cabac.h:267: warning: 'refill2' defined but not used
cabac.h:799: warning: 'get_cabac_u' defined but not used
cabac.h:815: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_rc1/work/MPlayer-1.0rc1/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0_rc1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mplayer-1.0_rc1.ebuild, line 447:   Called die


THis is my make.conf:

Code:
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"


SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"

USE="a52 aalib asf directfb dts dxr3 fbcon flac libcaca mng modplug speex theora vidix xvmc alsa X aac apm aim apache arts bash-completion browserplugin mbp bzip2 cdr cups curl debug dvd dvdr dvdread fdftk ffmeg ftp gs-gtk -gnome qt kde dvd alsa cdr msn hal -gnome gif glut gmp gphoto2 gstreamer gtk gtk2 ice1394 imagemagick jabber java javascript jpeg jpeg2 kde mime nvidia mcop mmx mp3 nls nptl nptlonly profile  nsplugin openal opengl oss pdf php png ppds python profile qt qt3 real quicktime samba sndfile speel svg threadsafe truetype usb tiff tcltk ssl v4l vcd verbose videos vorbis win32codecs wxwindows xine xinerama xml xv xvid yahoo zlib xsl"

VIDEO_CARDS="nvidia"

GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo "

GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo "

$PORTDIR_OVERLAY=/usr/local/portage

$PORTAGE_TMPDIR=/var/tmp/portage


Any help appreciated.

thanks
shelton.
[/code]
_________________
answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered


Last edited by shazam75 on Thu Jan 11, 2007 7:45 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jan 10, 2007 10:53 am    Post subject: Reply with quote

I had to disable its sse and sse2 USE flags, for it to compile. I emerged it with:
Code:
[ebuild   R   ] media-video/mplayer-1.0_rc1  USE="X alsa cpudetection dts dvd encode gif gtk iconv jpeg mad opengl png real rtc sdl theora truetype unicode vorbis win32codecs xanim xv xvid -3dfx -3dnow -3dnowext -aac -aalib (-altivec) -amr -arts -bidi -bindist -bl -cdparanoia -custom-cflags -debug -dga -directfb -doc -dv -dvb -dvdread -enca -esd -fbcon -ggi -ipv6 -jack -joystick -libcaca -lirc -live -livecd -lzo -matrox -mmx -mmxext -musepack -nas -openal -oss -samba -speex -sse -sse2 -svga -tga -v4l -v4l2 -x264 -xinerama -xvmc" LINGUAS="en -bg -cs -da -de -el -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW"
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Wed Jan 10, 2007 11:04 am    Post subject: Reply with quote

thanks Paul, but I do not have SSE or SSE2 in my USE flags presently. Just tried USE="-SSE -SSE2" emerge mplayer and that failed as well.

Cheers
Shelton.
_________________
answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
wnreynolds
n00b
n00b


Joined: 22 Nov 2004
Posts: 5

PostPosted: Wed Jan 10, 2007 11:38 pm    Post subject: Reply with quote

Did your the compiler command (i686-pc-linux-gnu-gcc) have -fomit-frame-pointer on it? If not, then you've got the debug use flag enabled. Disable in package.use or do

$ USE="-debug" emerge mplayer

should fix it. Bug submitted: https://bugs.gentoo.org/show_bug.cgi?id=161444 .

-bill
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Thu Jan 11, 2007 7:46 am    Post subject: Reply with quote

Thanks Bill - your solution worked!

Cheers
Shelton.
_________________
answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
gorilla2
n00b
n00b


Joined: 09 Aug 2005
Posts: 18

PostPosted: Wed Jan 24, 2007 9:56 am    Post subject: Reply with quote

This may also be related:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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