Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge mplayer-1.0_pre6-r4
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
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Mon May 02, 2005 10:55 am    Post subject: Can't emerge mplayer-1.0_pre6-r4 Reply with quote

here is the error it gives me.

Code:
imdct_3dnow.h: In function `fft_asmb_3dnow':
imdct_3dnow.h:241: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
imdct.c: In function `imdct_do_512_sse':
imdct.c:937: warning: use of memory input without lvalue in asm operand 1 is deprecated
imdct.c:937: warning: use of memory input without lvalue in asm operand 2 is deprecated
make[1]: *** [imdct.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/liba52'
make: *** [liba52/liba52.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.
!!! Function src_compile, Line 509, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.


and here is my make.conf file

Code:
CFLAGS="-march=athlon-xp -pipe -03"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome -kde qt dvd alsa cdr"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
SYNC="rsync://mirrors.tds.net/gentoo-portage"


i have tried looking through the forums for an answer and found nothing so i thought i better post.
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon May 02, 2005 11:11 am    Post subject: Reply with quote

do you use distcc?
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Mon May 02, 2005 11:15 am    Post subject: Reply with quote

No i do not use distcc any reason why?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon May 02, 2005 11:22 am    Post subject: Reply with quote

I read some thread with the same error and it seemed caused byt distcc
another important issue is that you use the right USe flags for mplayer
for athlon for example: 3dnow and not sse (intel)
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Mon May 02, 2005 11:31 am    Post subject: Reply with quote

I tried with the 3dnow use flags and i got the same error.

btw thanks for the fast replys :)
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon May 02, 2005 11:37 am    Post subject: Reply with quote

As I remember I had yesterday also problems upgrading xine due to a52dec
resolved it by adding the following to etc/portage/package.keywords:

media-libs/a52dec ~x86

maybe you should give that a try
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Mon May 02, 2005 11:47 am    Post subject: Reply with quote

Same error any more ideas?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon May 02, 2005 11:49 am    Post subject: Reply with quote

I don't know if you find here something that can help you:
https://forums.gentoo.org/viewtopic-t-311521.html
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Mon May 02, 2005 12:06 pm    Post subject: Reply with quote

after reading that i thought i would have a play with my use flags.

here is my new make.conf
Code:
CFLAGS="-march=athlon-xp -pipe -03"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome -kde qt dvd alsa cdr 3dnow fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
SYNC="rsync://mirrors.tds.net/gentoo-portage"


and here is my new error lol

Code:
E -D_GNU_SOURCE -c -o libpostproc/postprocess.o libpostproc/postprocess.c
In file included from libpostproc/postprocess.c:655:
libpostproc/postprocess_template.c: In function `postProcess_MMX2':
libpostproc/postprocess_template.c:2901: warning: use of memory input without lv
alue in asm operand 4 is deprecated
libpostproc/postprocess_template.c:2901: warning: use of memory input without lv
alue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `do_a_deblock_MMX2':
libpostproc/postprocess_template.c:2901: warning: use of memory input without lv
alue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `dering_MMX2':
libpostproc/postprocess_template.c:1186: error: can't find a register in class `
GENERAL_REGS' while reloading `asm'
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.
0pre6a/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.
!!! Function src_compile, Line 509, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon May 02, 2005 1:11 pm    Post subject: Reply with quote

did you try to reemerge giflib first?
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon May 02, 2005 10:34 pm    Post subject: Reply with quote

polle wrote:
I read some thread with the same error and it seemed caused byt distcc
another important issue is that you use the right USe flags for mplayer
for athlon for example: 3dnow and not sse (intel)


sse is not intel specific .

athlon-xp supports sse but not sse2 ; semperon and amd64 support both AFAIK.

I just updated to pre6-r5 with no probs.

Try posting emerge -pv mplayer so we can see what bersions and flags you are using.
Also cat /proc/cpuinfo

8)

PS I have seen in other threads this MMX2 errors. Something about PIC, details complex, assembler bug for some CPU types

try -O2 -fomit-frame-pointer

I used
Code:
 CFLAGS="-march=athlon-xp -O2 -pipe -mtune=athlon-xp  -fomit-frame-pointer -falign-functions=64 -D_FILE_OFFSET_BITS=64"


and since mmxext and 3dnowext are only used by mplayer, the following in package.use
Code:

media-video/mplayer 3dnowext real mmxext divx4linux dvdread cdparanoia

_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Tue May 03, 2005 6:39 am    Post subject: Reply with quote

let me just say thanks to Gentree i now of mplayer installed :)

heres my make.conf

Code:
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome -kde qt dvd alsa cdr 3dnow fpu vme de pse tsc msr pae mce cx8 
 apic sep mtrr pge mca cmov pat pse36 mmx fxsr pni syscall mmxext 3dnowext"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
SYNC="rsync://mirrors.tds.net/gentoo-portage"


and i also added

Code:
media-video/mplayer 3dnowext real mmxext divx4linux dvdread cdparanoia


to packages.use :) cheers for your help guys!!! :)
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue May 03, 2005 7:45 am    Post subject: Reply with quote

You're welcome.

Final detail , the idea of putting 3dnowext and mmxext in package.use is that only mplayer recognises these to keep USE light you can remove them from there since they serve no purpose besides mplayer.

You may want to add sse to USE since your athlon-xp does support it and it is used by quite a few packages. It is the most basic level of mmx support and worth having.

-fomit-frame-pointer does lighten code quite a bit without any probs, recommended by gcc devs.

-D_FILE_OFFSET_BITS=64 allows some software like opera and gftp,lftp , mozilla (?) to handle files >2G , like some iso images. Add it if it seems useful.


Since you have -kde you may like to add -arts.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
[B]bongretarded
n00b
n00b


Joined: 15 Nov 2004
Posts: 18

PostPosted: Tue May 03, 2005 9:04 am    Post subject: Reply with quote

Woah thanks for going the extra mile :)

Added everything as you said thank you again :)
Back to top
View user's profile Send private message
Corvus_Corax
n00b
n00b


Joined: 04 Oct 2004
Posts: 8
Location: Germany

PostPosted: Wed Jun 08, 2005 2:30 pm    Post subject: Reply with quote

Hi Gentree!
Thanks a lot! Afer working a couple of hours on this problem I finally got it using your hint! :D I had to add USE="-3dfx" to the emerge command as stated before and I copied your package.use. It took me some time to find out that I have to create this file ... :oops::roll:
I hope everything is fine now :)
Bye
Marius
_________________
Physics is like sex - Of course it can give you some practical results, but that's not why we do it. (Richard Feynman)
Back to top
View user's profile Send private message
bosshoff
n00b
n00b


Joined: 27 Sep 2004
Posts: 70

PostPosted: Sat Aug 20, 2005 8:12 pm    Post subject: Reply with quote

Hey I just wanted to express my appreciation for your advice as well. I only hope I become knowledgeable enough about this distro to be able to contribute support in the future. Keep up the excellent work guys.
_________________
"It is not possible for people to give fair and just advice to the state, if they are not exposing their own children to the same danger when they advance a risky policy." - Thucydides
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