<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>I was successful in compiling asterisk in raspbien except for the following error If I enable the gsm codec. It appears there is something in the Makefile n this directory that needs to be changed. Probably involving optimization. Not sure why it does not recognize the processor since it is one that is mentioned in the Makefile. Any help would be appreciated. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>make[2]:
Entering directory `/usr/src/asterisk/codecs/gsm'<br> [AS] src/k6opt.s -> src/k6opt.o<br>Assembler messages:<br>Error: unknown architecture `armv6l'<br><br>Error: unrecognized option -march=armv6l<br>make[2]: *** [src/k6opt.o] Error 1<br></span></div><div> <br>Here are the lines in the Makefile -<br><br>ifeq (, $(findstring $(OSARCH) , Darwin SunOS ))<br>ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel<br>mips))<br>ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b armv5b armv61 armv7l s390 ))<br>OPTIMIZE+=-march=$(PROC)<br>endif<br>endif<br>endif<br><br>gcc is -<br><br>Thread model: posix<br>gcc version 4.6.3 (Debian 4.6.3-14+rpi1)<br><br># uname -m<br>armv6l<br><br><br></div><div>Doug<a rel="nofollow" target="_blank" href="http://www.crompton.com/"></a><br></div></div></body></html>