Steve Totaro
2005-Oct-19 13:19 UTC
[Asterisk-Users] Problems Installing MPG123 on a 64 Bit System
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
Jason Becker
2005-Oct-19 13:41 UTC
[Asterisk-Users] Problems Installing MPG123 on a 64 Bit System
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 2Use madplayer instead. There are several reasons why Digium & the Asterisk community should part ways with mpg123. Regards, -- Jason Becker Director & CEO Coalescent Systems Inc. Enabling Open Source Telephony 403.244.8089 www.coalescentsystems.ca