[asterisk-users] Trouble compiling asterisk 1.2.14

Guillermo Salas M. gsalas at manta.telconet.net
Thu Jan 4 11:42:57 MST 2007


Hi, I'm trying to compile asterisk 1.2.14 on a Debian Sarge amd64 with
kernel  2.6.8-12-amd64-k8


make[2]: Entering directory `/usr/src/asterisk-1.2.14/codecs/gsm'
gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE  -O6          -fomit-frame-pointer  -fPIC  -c
-DNeedFunctionPrototypes=1 -funroll-loops -O6 -march=k8 -fPIC -DSASR
-DNDEBUG    -DWAV49   -I./inc src/add.c
cc1: error: bad value (k8) for -march= switch
cc1: error: bad value (k8) for -mcpu= switch
make[2]: *** [src/add.o] Error 1
make[2]: Leaving directory `/usr/src/asterisk-1.2.14/codecs/gsm'
make[1]: *** [gsm/lib/libgsm.a] Error 2
make[1]: Leaving directory `/usr/src/asterisk-1.2.14/codecs'
make: *** [subdirs] Error 1


ruidoso:/usr/src/asterisk-1.2.14# uname -sr
Linux 2.6.8-12-amd64-k8

Maybe I'm forgotting to install any dependency?

Best regards,


-- 
Guillermo Salas M.
Telconet S.A.
Calle 15 y Avenida 24 Esq
Edificio Barre #2 Primer Piso
Telefono : +593 5 262 8071
Celular  : +593 9 985 5138
e-mail   : gsalas at manta.telconet.net
www      : http://www.manta.telconet.net
           http://www.telcocarrier.net

Linux User: 255902

Beat me, whip me, make me use Windows!

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting



More information about the asterisk-users mailing list