View previous topic :: View next topic |
Author |
Message |
Lazarus18 n00b
Joined: 01 May 2002 Posts: 38
|
Posted: Sat May 11, 2002 7:13 pm Post subject: various sound problems |
|
|
I am having serious issues with sound. I can't emerge mpg321 or mpg123. This means I can't emerge kdemultimedia or addons.
mpg321 goes caput when mad tries to install (a dependency). It has errors about "unrecognized operand restraints in asm" and "inconsistenet operand restraints in asm" and "Unrecognized opcode: 'shrdl' ".
mpg123 borks with a whole bunch of junk.
Quote: | make CC=gcc LDFLAGS= \
OBJECTS='decode.o dct64.o audio_oss.o' \
CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -O2 -mcpu=ppc \
-DOSS \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
mpg123-make
make[1]: Entering directory `/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r'
make[2]: Entering directory `/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r'
gcc -DREAL_IS_FLOAT -DLINUX -Wall -O2 -mcpu=ppc -DOSS -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o mpg123.o mpg123.c
cc1: bad value (ppc) for -mcpu= switch
mpg123.c: In function `shuffle_files':
mpg123.c:225: warning: implicit declaration of function `time'
mpg123.c: At top level:
mpg123.c:480: warning: initialization makes integer from pointer without a cast
make[2]: *** [mpg123.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r'
make: *** [linux-ppc] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/media-sound/mpg123/mpg123-0.59r-r1.ebuild .
|
I don't know where it's getting mcpu=ppc from. My make.config file just uses the standard default values, which does not add a mcpu line. (Which is another question, is there a code for a G3?)
If anyone has made this work, I'd love to know how. _________________ -Rob, Tired med student
Powermac G4 450 MHz (Sawtooth), 756 MB RAM, OS X.1.4
Powerbook G3 400 MHz (Pismo), 192 MB RAM, OS X.1.4, Gentoo Linux
Homebrew Athlon-xp 1800+ MHz, 512 MB DDR-RAM, GeForce 3Ti 500, Gentoo Linux, WinXP |
|
Back to top |
|
|
Stummel n00b
Joined: 26 May 2002 Posts: 7 Location: Munic / Germany
|
Posted: Wed May 29, 2002 8:52 pm Post subject: |
|
|
Hi *,
emerge mpg123 works fine for me. Even with code optimisation for G4 and O3. I don't know where the -mcpu=ppc switch comes from - but don't care - it's not valid. (It says, that gcc doesn't know a CPU named ppc - it should be powerpc (but thats the slowest option))
Try setting -mcpu=750 in /etc/make.conf.
if 750 does not work for you, try 740.
CU Stummel |
|
Back to top |
|
|
|
|
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
|
|