View previous topic :: View next topic |
Author |
Message |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Mon May 02, 2005 10:55 am Post subject: Can't emerge mplayer-1.0_pre6-r4 |
|
|
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 |
|
 |
polle Veteran


Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Mon May 02, 2005 11:11 am Post subject: |
|
|
do you use distcc? |
|
Back to top |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Mon May 02, 2005 11:15 am Post subject: |
|
|
No i do not use distcc any reason why? |
|
Back to top |
|
 |
polle Veteran


Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Mon May 02, 2005 11:22 am Post subject: |
|
|
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 |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Mon May 02, 2005 11:31 am Post subject: |
|
|
I tried with the 3dnow use flags and i got the same error.
btw thanks for the fast replys  |
|
Back to top |
|
 |
polle Veteran


Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Mon May 02, 2005 11:37 am Post subject: |
|
|
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 |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Mon May 02, 2005 11:47 am Post subject: |
|
|
Same error any more ideas? |
|
Back to top |
|
 |
polle Veteran


Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
|
Back to top |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Mon May 02, 2005 12:06 pm Post subject: |
|
|
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 |
|
 |
polle Veteran


Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Mon May 02, 2005 1:11 pm Post subject: |
|
|
did you try to reemerge giflib first? |
|
Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Mon May 02, 2005 10:34 pm Post subject: |
|
|
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
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 |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Tue May 03, 2005 6:39 am Post subject: |
|
|
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 |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Tue May 03, 2005 7:45 am Post subject: |
|
|
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.
 _________________ 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 |
|
 |
[B]bongretarded n00b

Joined: 15 Nov 2004 Posts: 18
|
Posted: Tue May 03, 2005 9:04 am Post subject: |
|
|
Woah thanks for going the extra mile
Added everything as you said thank you again  |
|
Back to top |
|
 |
Corvus_Corax n00b

Joined: 04 Oct 2004 Posts: 8 Location: Germany
|
Posted: Wed Jun 08, 2005 2:30 pm Post subject: |
|
|
Hi Gentree!
Thanks a lot! Afer working a couple of hours on this problem I finally got it using your hint! 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 ... 
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 |
|
 |
bosshoff n00b


Joined: 27 Sep 2004 Posts: 70
|
Posted: Sat Aug 20, 2005 8:12 pm Post subject: |
|
|
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 |
|
 |
|