Gentoo Archives: gentoo-ppc-user

From: Robert Silge <robert.silge@××××××××××××××.edu>
To: gentooppc-user@g.o
Subject: [gentooppc-user] <no subject>
Date: Sat, 11 May 2002 14:15:06
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.

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' \
make[1]: Entering directory
make[2]: Entering directory
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
make[2]: *** [mpg123.o] Error 1
make[2]: Leaving directory
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory
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.



Subject Author
Re: [gentooppc-user] <no subject> Calum Selkirk <cselkirk@×××××.com>