Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536 - mplayer build fails.
Summary: mplayer build fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-04 20:20 UTC by chouser (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chouser (RETIRED) gentoo-dev 2002-02-04 20:20:53 UTC
USE="3dnow X aalib berkdb bonobo esd gdbm gif gnome gpm gtk gtkhtml guile
ipv6 java kde lame libg++ libwww mitshm motif mozilla mysql nas ogg opengl pam
pdflib perl postgres python qt readline ruby sdl slang ssl svga tcltk tcpd tex
vorbis"


make -C libvo
make[1]: Entering directory
`/var/tmp/portage/mplayer-0.60-r1/work/MPlayer-0.60/libvo'
gcc -c -O2 -pipe -D_REENTRANT -I. -I.. -I/usr/include/SDL -D_REENTRANT 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include  -DMPG12PLAY  -o osd.o osd.c
osd.c: In function `vo_draw_alpha_rgb24':
osd_template.c:240: Invalid `asm' statement:
osd_template.c:240: fixed or forbidden register 0 (ax) was spilled for class Q_REGS.
make[1]: *** [osd.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mplayer-0.60-r1/work/MPlayer-0.60/libvo'
make: *** [libvo/libvo.a] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-video/mplayer/mplayer-0.60-r1.ebuild
Comment 1 chouser (RETIRED) gentoo-dev 2002-02-10 23:47:26 UTC
I found a fix/workaround, but the ebuild could probably still be improved to
help other users...

The problem was that I'm on a AMD K6-2, and I assumed that meant I should have
3dnow, but not mmx in my USE.  The mplayer configure script autodetected both,
and apparenltly broke the build when the USE vars and the autodetected flags
conflicted.  Or something.

Anyway, I added mmx to my USE var and it installed and worked like a charm. 
What a great app!  :-)

--Chouser
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-02-17 09:28:57 UTC
should be fixed with mplayer-0.60-r2.