Main Page | Report this Page
Linux Forum Index  »  Linux - Gentoo Forum  »  MPlayer doesn't compile :(...
Page 1 of 1    

MPlayer doesn't compile :(...

Author Message
...
Posted: Tue Mar 03, 2009 11:43 am
Guest
another problem on my 4-year gentoo... the best player for linux
ever, MPlayer, dosen't want to compile (and ends up with the output
below)
Please, help!

# emerge -va mplayer
media-video/mplayer-1.0_rc2_p28450 [1.0_rc1-r2] USE="X a52%* alsa dirac
%* directfb dv encode gif jack jpeg live* mad mmx mp3%* opengl png
quicktime%* rtc schroedinger%* sdl speex sse svga theora truetype
unicode v4l v4l2 vorbis win32codecs xv xvid xvmc -3dnow -3dnowext -aac
-aalib (-altivec) -amrnb% -amrwb% -arts -ass% -bidi (-bindist) -bl -
cddb% -cdio% -cdparanoia (-cpudetection) -custom-cflags (-custom-
cpuopts) -debug -dga -doc -dts -dvb -dvd (-dvdnav) -dxr3% -enca -esd -
fbcon* -ftp% -ggi -gtk -iconv* -ipv6 -joystick -ladspa% -libcaca* -
lirc -lzo -md5sum% -mmxext -mng% -mp2% -musepack -nas -nemesi% -openal
-oss -pnm% -pulseaudio% -pvr% -radio% -rar% (-real*) -samba -sse2 (-
ssse3) -teletext% -tga -vidix% -x264 -xanim -xinerama -xscreensaver% -
zoran% (-3dfx%) (-amr%) (-dvdread%) (-i8x0%*) (-livecd%) (-matrox%)"
LINGUAS="(-bg%) (-cs%) (-da%) (-de%) (-el%) (-en%) (-es%) (-fr%) (-hu
%) (-ja%) (-ko%) (-mk%) (-nl%) (-no%) (-pl%*) (-pt_BR%) (-ro%) (-ru%*)
(-sk%) (-tr%) (-uk%) (-zh_CN%) (-zh_TW%)" VIDEO_CARDS="-mga% -s3virge%
-tdfx% -vesa%" 0 kB [?=>0]
.......................
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c
libmpcodecs/vf_delogo.c: In function `open':
libmpcodecs/vf_delogo.c:206: warning: 'res' might be used
uninitialized in this function
i686-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wdeclaration-
after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -
Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/
directfb -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -
Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/
include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o
libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c
libmpcodecs/vf_decimate.c: In function `diff_MMX':
libmpcodecs/vf_decimate.c:26: error: can't find a register in class
`BREG' while reloading `asm'
make: *** [libmpcodecs/vf_decimate.o] Error 1
make: *** Waiting for unfinished jobs....
*
* ERROR: media-video/mplayer-1.0_rc2_p28450 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2632: Called die
* The specific snippet of code:
* emake || die "Failed to build MPlayer!";
* The die message:
* Failed to build MPlayer!
*
* If you need support, post the topmost build error, and the call
stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-
video/mplayer-1.0_rc2_p28450/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/
media-video/mplayer-1.0_rc2_p28450/temp/environment'.
*

Quote:
>>> Failed to emerge media-video/mplayer-1.0_rc2_p28450, Log
file:


Quote:
>>> '/var/tmp/portage/media-video/mplayer-1.0_rc2_p28450/temp/
build.log'
 
Jerry McBride...
Posted: Tue Mar 03, 2009 9:10 pm
Guest
alojzy.zakalec at (no spam) gmail.com wrote:

Quote:
In function `diff_MMX':
libmpcodecs/vf_decimate.c:26: error: can't find a register in class
`BREG' while reloading `asm'

What gcc are you running? I would try a vanilla gcc and see if the problem
happens again. If it does, try -mmx.

Report this at bugs.gentoo.org

--

*****************************************************************************

From the desk of:
Jerome D. McBride

20:09:27 up 77 days, 2:17, 5 users, load average: 0.32, 0.14, 0.09

*****************************************************************************
 
...
Posted: Wed Mar 04, 2009 5:12 am
Guest
On Mar 4, 2:10 am, Jerry McBride <jmcbr... at (no spam) mail-on.us> wrote:
Quote:
alojzy.zaka... at (no spam) gmail.com wrote:
In function `diff_MMX':
libmpcodecs/vf_decimate.c:26: error: can't find a register in class
`BREG' while reloading `asm'

What gcc are you running? I would try a vanilla gcc

# emerge -va gcc
These are the packages that would be merged, in order:
[ebuild R ] sys-devel/gcc-3.4.6-r2 USE="hardened nls (-altivec) -
bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk -ip28 -
ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -
nossp -objc -test -vanilla"

So, should I turn on the "vanilla" USE flag in the above?
 
...
Posted: Wed Mar 04, 2009 12:35 pm
Guest
On Mar 4, 8:24 pm, Michał Górny <mgorny.d... at (no spam) mailnull.com> wrote:
Quote:
# emerge -va gcc
These are the packages that would be merged, in order:
[ebuild   R   ] sys-devel/gcc-3.4.6-r2  USE="hardened nls (-altivec) -
bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk -ip28 -
ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -
nossp -objc -test -vanilla"

No offence, but I think you should start with emerging gcc4.


So why is gcc-3.* the default compiler version on my system?
How to switch to gcc-4.* ??

What to do to have gcc-4.* compilation evoked after " # emerge -va gcc
" ?
 
...
Posted: Wed Mar 04, 2009 1:06 pm
Guest
On Mar 4, 11:35 pm, alojzy.zaka... at (no spam) gmail.com wrote:
Quote:
No offence, but I think you should start with emerging gcc4.

So why is gcc-3.* the default compiler version on my system?
How to switch to gcc-4.* ??

What to do to have gcc-4.* compilation evoked after " # emerge -va gcc

OK, I should have added here I had the profile "hardened" set since
the beginning:



# emerge -va ">gcc-4.0"

These are the packages that would be merged, in order:

Calculating dependencies - * Missing digest for '/usr/local/portage/
net-print/i250/
i250-2.3.ebuild' ...
done!

!!! All ebuilds that could satisfy ">sys-devel/gcc-4.0" have been
masked.
!!! One of the following masked packages is required to complete your
request:
- sys-devel/gcc-4.3.3 (masked by: package.mask, ~x86 keyword)
/mnt/c-9._tiny_files/portage/profiles/hardened/package.mask:
# Mask non-hardened+non-testing gcc-4.3.x releases

- sys-devel/gcc-4.3.2-r3 (masked by: ~x86 keyword)
- sys-devel/gcc-4.3.2-r2 (masked by: ~x86 keyword)
- sys-devel/gcc-4.3.2 (masked by: package.mask, ~x86 keyword)
- sys-devel/gcc-4.3.1-r1 (masked by: package.mask, ~x86 keyword)
- sys-devel/gcc-4.3.1 (masked by: package.mask, ~x86 keyword)
- sys-devel/gcc-4.3.0 (masked by: package.mask, missing keyword)
- sys-devel/gcc-4.2.4-r1 (masked by: package.mask, ~x86 keyword)
/mnt/c-9._tiny_files/portage/profiles/hardened/package.mask:
# Hardened versions of gcc-4.0 through gcc-4.2* are not available

- sys-devel/gcc-4.1.2 (masked by: package.mask)
- sys-devel/gcc-4.0.4 (masked by: package.mask, missing keyword)
 
...
Posted: Wed Mar 04, 2009 1:31 pm
Guest
Quote:
OK, I should have added here I had the profile "hardened" set since
the beginning:

So what should I do now? Wont some packages (like MPlayer) compile in
any way under the 'hardened' profile?
Is it possible to change the profile to "default" now without doing
now massive re-compilation of everything? Is it possbilbe to do it
gradually - simply such compile of just updated ebuilds? With the
exception of say... gcc & glibc which would be recompiled at start?

Very grateful 4 any help.
 
...
Posted: Wed Mar 04, 2009 2:45 pm
Guest
On Mar 5, 12:32 am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
Quote:
There was a HowTo on the Gentoo website with regard to the upgrade from
gcc-3 to gcc-4, as it was not trivial to do.  Did you already look for it?

Probably you mean this:
http://www.gentoo.org/doc/en/gcc-upgrading.xml

Since it triggers these lenghty updates:

Code Listing 2.2: Rebuilding system
# emerge -eav system
# emerge -eav world

I would like to ask what actual disadvantages will I have if I stay
with the profile "hardened" (which doesn't allow for gcc-4):

# eselect profile list
Available profile symlink targets:
[1] hardened/x86/2.6 *
[2] selinux/2007.0/x86
[3] selinux/2007.0/x86/hardened
[4] default/linux/x86/2008.0
[5] default/linux/x86/2008.0/desktop
[6] default/linux/x86/2008.0/developer
[7] default/linux/x86/2008.0/server
[8] hardened/linux/x86

Is it tully responsible for the problems with Skype and Mplayer?
 
Michał Górny...
Posted: Wed Mar 04, 2009 3:24 pm
Guest
On Wed, 04 Mar 2009 16:12:57 +0100, <alojzy.zakalec at (no spam) gmail.com> wrote:

Quote:
On Mar 4, 2:10 am, Jerry McBride <jmcbr... at (no spam) mail-on.us> wrote:
alojzy.zaka... at (no spam) gmail.com wrote:
In function `diff_MMX':
libmpcodecs/vf_decimate.c:26: error: can't find a register in class
`BREG' while reloading `asm'

What gcc are you running? I would try a vanilla gcc

# emerge -va gcc
These are the packages that would be merged, in order:
[ebuild R ] sys-devel/gcc-3.4.6-r2 USE="hardened nls (-altivec) -
bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk -ip28 -
ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -
nossp -objc -test -vanilla"

No offence, but I think you should start with emerging gcc4.

--
Best regards,
Michał Górny

<http://mailnull.com/w?au=f6744c6f5e097cc9816a562802f331c2>
<xmpp:mgorny at (no spam) jabster.pl>
 
Aragorn...
Posted: Wed Mar 04, 2009 7:32 pm
Guest
On Wednesday 04 March 2009 23:35, someone identifying as
*alojzy.zakalec at (no spam) gmail.com* wrote in /alt.os.linux.gentoo:/

Quote:
So why is gcc-3.* the default compiler version on my system?
How to switch to gcc-4.* ??

There was a HowTo on the Gentoo website with regard to the upgrade from
gcc-3 to gcc-4, as it was not trivial to do. Did you already look for it?

--
*Aragorn*
(registered GNU/Linux user #223157)
 
Michael Mauch...
Posted: Fri Mar 06, 2009 12:46 pm
Guest
alojzy.zakalec at (no spam) gmail.com wrote:
Quote:
OK, I should have added here I had the profile "hardened" set since
the beginning:

So what should I do now? Wont some packages (like MPlayer) compile in
any way under the 'hardened' profile?
Is it possible to change the profile to "default" now without doing
now massive re-compilation of everything? Is it possbilbe to do it
gradually - simply such compile of just updated ebuilds? With the
exception of say... gcc & glibc which would be recompiled at start?

I have no idea about the hardened profile, but I'm also still using
gcc-3.4.6-r2 because I'm too lazy to recompile everything.

mplayer-1.0_rc2_p28450 compiled fine here on 32-bit.

I don't know how old your CPU is, but maybe you can enable a few of the
USE flags related to multi media, i.e. 3dnow 3dnowext mmx mmxext sse
sse2. You can use "cat /proc/cpuinfo" to see which of these are
available on your CPU.

Regards...
Michael
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 1:49 pm