[Asterisk-Dev] Mac Mini on Debian - Asterisk
tech
tech at ebajobs.com
Wed Sep 28 14:20:24 MST 2005
Tom, I am a recruiter and I need a MAC SWE for Scottsdale, AZ. Do you know
anyone who would be interested in a fulltime position in Arizona?
Rhon
_____
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Tom Lo
Sent: Wednesday, September 28, 2005 12:55 PM
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] Mac Mini on Debian - Asterisk
I just installed Debian (powerpc) and Asterisk on my Mac Mini. The only
problem is that I cannot get mpg123 to compile ( I used the "make
-linux-ppc" option). Please find at the end the print out for this. I also
try "make generic" option and have a different error message (attached at
the end). Can someone please help!!!!!!!!!!!!!!!!!!!!!!!
--
Best Regards,
Tom
PRINT OUT WHEN USING make linux generic:
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 `/usr/src/mpg123-0.59r'
make[2]: Entering directory `/usr/src/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: error: bad value (ppc) for -mcpu= switch
make[2]: *** [mpg123.o] Error 1
make[2]: Leaving directory `/usr/src/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/usr/src/mpg123-0.59r'
make: *** [linux-ppc] Error 2
PRINT OUT WHEN USING make linux generic:
make LDFLAGS= OBJECTS='decode.o dct64.o audio_dummy.o' \
CFLAGS='-O -DGENERIC -DNOXFERMEM' \
mpg123-make
make[1]: Entering directory `/usr/src/mpg123-0.59r'
make[2]: Entering directory `/usr/src/mpg123-0.59r'
cc -O -DGENERIC -DNOXFERMEM -c -o mpg123.o mpg123.c
mpg123.c:480: warning: initialization makes integer from pointer without a
cast
cc -O -DGENERIC -DNOXFERMEM -c -o common.o common.c
cc -O -DGENERIC -DNOXFERMEM -c -o decode.o decode.c
cc -O -DGENERIC -DNOXFERMEM -c -o dct64.o dct64.c
cc -O -DGENERIC -DNOXFERMEM -c -o audio_dummy.o audio_dummy.c
cc -O -DGENERIC -DNOXFERMEM -c -o decode_2to1.o decode_2to1.c
cc -O -DGENERIC -DNOXFERMEM -c -o decode_4to1.o decode_4to1.c
cc -O -DGENERIC -DNOXFERMEM -c -o tabinit.o tabinit.c
cc -O -DGENERIC -DNOXFERMEM -c -o audio.o audio.c
cc -O -DGENERIC -DNOXFERMEM -c -o layer1.o layer1.c
cc -O -DGENERIC -DNOXFERMEM -c -o layer2.o layer2.c
cc -O -DGENERIC -DNOXFERMEM -c -o layer3.o layer3.c
cc -O -DGENERIC -DNOXFERMEM -c -o buffer.o buffer.c
cc -O -DGENERIC -DNOXFERMEM -c -o getlopt.o getlopt.c
cc -O -DGENERIC -DNOXFERMEM -c -o httpget.o httpget.c
cc -O -DGENERIC -DNOXFERMEM -c -o xfermem.o xfermem.c
cc -O -DGENERIC -DNOXFERMEM -c -o equalizer.o equalizer.c
cc -O -DGENERIC -DNOXFERMEM -c -o decode_ntom.o decode_ntom.c
cc -O -DGENERIC -DNOXFERMEM -c -o wav.o wav.c
cc -O -DGENERIC -DNOXFERMEM -c -o readers.o readers.c
cc -O -DGENERIC -DNOXFERMEM -c -o getbits.o getbits.c
cc -O -DGENERIC -DNOXFERMEM -c -o control_generic.o control_generic.c
cc -O -DGENERIC -DNOXFERMEM mpg123.o tabinit.o common.o layer1.o \
layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o \
decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o \
wav.o readers.o getbits.o control_generic.o \
decode.o dct64.o audio_dummy.o -o mpg123 -lm
mpg123.o(.text+0x16c8): In function `main':
: undefined reference to `xfermem_get_usedspace'
common.o(.text+0x1324): In function `compute_buffer_offset':
: undefined reference to `xfermem_get_usedspace'
readers.o(.text+0x200): In function `stream_back_frame':
: undefined reference to `xfermem_get_usedspace'
control_generic.o(.text+0x274): In function `generic_sendstat':
: undefined reference to `xfermem_get_usedspace'
control_generic.o(.text+0xc18): In function `control_generic':
: undefined reference to `xfermem_init_reader'
control_generic.o(.text+0xc30): In function `control_generic':
: undefined reference to `xfermem_done'
collect2: ld returned 1 exit status
make[2]: *** [mpg123] Error 1
make[2]: Leaving directory `/usr/src/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/usr/src/mpg123-0.59r'
make: *** [generic] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050928/59eca644/attachment.htm
More information about the asterisk-dev
mailing list