Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentooppc-user@g.o>
From: Robert Silge <robert.silge@...>
Subject: <no subject>
Date: Sat May 11 14:16:02 2002
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' \
        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


Replies:
Re: <no subject>
-- Calum Selkirk
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
xfree scroll-up: fixed
Next by thread:
Re: <no subject>
Previous by date:
xfree scroll-up: fixed
Next by date:
Re: <no subject>


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.