1 |
I am having serious issues with sound. I can't emerge mpg321 or mpg123. This |
2 |
means I can't emerge kdemultimedia or addons. |
3 |
|
4 |
mpg321 goes caput when mad tries to install (a dependency). It has errors |
5 |
about "unrecognized operand restraints in asm" and "inconsistenet operand |
6 |
restraints in asm" and "Unrecognized opcode: 'shrdl' ". |
7 |
|
8 |
mpg123 borks with a whole bunch of junk. |
9 |
|
10 |
make CC=gcc LDFLAGS= \ |
11 |
OBJECTS='decode.o dct64.o audio_oss.o' \ |
12 |
CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -O2 -mcpu=ppc \ |
13 |
-DOSS \ |
14 |
-fomit-frame-pointer -funroll-all-loops \ |
15 |
-finline-functions -ffast-math' \ |
16 |
mpg123-make |
17 |
make[1]: Entering directory |
18 |
`/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r' |
19 |
make[2]: Entering directory |
20 |
`/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r' |
21 |
gcc -DREAL_IS_FLOAT -DLINUX -Wall -O2 -mcpu=ppc -DOSS |
22 |
-fomit-frame-pointer -funroll-all-loops -finline-functions |
23 |
-ffast-math -c -o mpg123.o mpg123.c |
24 |
cc1: bad value (ppc) for -mcpu= switch |
25 |
mpg123.c: In function `shuffle_files': |
26 |
mpg123.c:225: warning: implicit declaration of function `time' |
27 |
mpg123.c: At top level: |
28 |
mpg123.c:480: warning: initialization makes integer from pointer without a |
29 |
cast |
30 |
make[2]: *** [mpg123.o] Error 1 |
31 |
make[2]: Leaving directory |
32 |
`/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r' |
33 |
make[1]: *** [mpg123-make] Error 2 |
34 |
make[1]: Leaving directory |
35 |
`/var/tmp/portage/mpg123-0.59r-r1/work/mpg123-0.59r' |
36 |
make: *** [linux-ppc] Error 2 |
37 |
|
38 |
!!! ERROR: The ebuild did not complete successfully. |
39 |
!!! Function src_compile, Line 29, Exitcode 2 |
40 |
!!! (no error message) |
41 |
|
42 |
!!! emerge aborting on |
43 |
/usr/portage/media-sound/mpg123/mpg123-0.59r-r1.ebuild . |
44 |
|
45 |
|
46 |
I don't know where it's getting mcpu=ppc from. My make.config file just uses |
47 |
the standard default values, which does not add a mcpu line. (Which is |
48 |
another question, is there a code for a G3?) |
49 |
|
50 |
If anyone has made this work, I'd love to know how. |
51 |
|
52 |
-Rob |