<div dir="ltr"><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:19.239999771118164px;background-color:rgb(252,252,252)">Try to set PROC to arm.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 7:13 PM, Doug <span dir="ltr"><<a href="mailto:dsc3507@yahoo.com" target="_blank">dsc3507@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><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="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<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<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Doug<a rel="nofollow" href="http://www.crompton.com/" target="_blank"></a><br>
</div></font></span></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>