[Asterisk-Users] Problems Installing MPG123 on a 64 Bit System
Vahan Yerkanian
vahan at arminco.com
Thu Oct 20 04:04:49 MST 2005
I'd recommend using native mp3 support that is available in CVS HEAD, as
madplayer mp3 decoder gives a lower quality sound (audibly more
cranky/noisy).
Vahan
Jason Becker wrote:
> Steve Totaro wrote:
>
>> Anyone know how to get around this? I am stumped.
>>
>> # make mpg123
>> [ -f mpg123-0.59r.tar.gz ] || fetch
>> http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
>> [ -d mpg123-0.59r ] || tar xfz mpg123-0.59r.tar.gz
>> make -C mpg123-0.59r linux
>> make[1]: Entering directory `/usr/local/src/asterisk/mpg123-0.59r'
>> make CC=gcc LDFLAGS= \
>> OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
>> audio_oss.o term.o' \
>> CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
>> -DREAD_MMAP -DOSS -DTERM_CONTROL\
>> -Wall -O2 -m486 \
>> -fomit-frame-pointer -funroll-all-loops \
>> -finline-functions -ffast-math' \
>> mpg123-make
>> make[2]: Entering directory `/usr/local/src/asterisk/mpg123-0.59r'
>> make[3]: Entering directory `/usr/local/src/asterisk/mpg123-0.59r'
>> gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX
>> -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
>> -m486 -fomit-f
>> rame-pointer -funroll-all-loops -finline-functions
>> -ffast-ma
>> th -c -o mpg123.o mpg123.c
>> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
>> cc1: error: CPU you selected does not support x86-64 instruction set
>> make[3]: *** [mpg123.o] Error 1
>> make[3]: Leaving directory `/usr/local/src/asterisk/mpg123-0.59r'
>> make[2]: *** [mpg123-make] Error 2
>> make[2]: Leaving directory `/usr/local/src/asterisk/mpg123-0.59r'
>> make[1]: *** [linux] Error 2
>> make[1]: Leaving directory `/usr/local/src/asterisk/mpg123-0.59r'
>> make: *** [mpg123] Error 2
>
>
> Use madplayer instead. There are several reasons why Digium & the
> Asterisk community should part ways with mpg123.
>
> Regards,
>
More information about the asterisk-users
mailing list