On Thu, Jan 04, 2007 at 01:42:57PM -0500, Guillermo Salas M. wrote: > 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
gcc 3.3 and gcc 3.4 (which are availble on Sarge) don't support that, I believe. Try setting those values explicitly in the makefile. Or try reproducing the build of the deb package from the pkg-voip buildserver: http://pkg-voip.buildserver.net -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users