<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Julian,<br><br> The only thing I can thik of is that your source is different version. My GSM files are dated oct 19, 2008. There have been changes in the GSM Makefile over the years. Also are you compiling natively or cross compiling. I am compiling natively. <br><div><br>Doug<a rel="nofollow" target="_blank" href="http://www.crompton.com/"></a><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, March 4, 2014 12:54 AM, Julian Lyndon-Smith <asterisk@dotr.com>
wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div class="y_msg_container">this is all very odd. I have been compiling on raspbian wheezy for a<br>few months now, and have never come across this error<br><br>-rw-r--r-- 1 root root 6128 Aug 25 2013 codec_gsm.c<br>-rw-r--r-- 1 root root 126 Feb 8 08:50 codec_gsm.exports<br>-rw-r--r-- 1 root root 181808 Feb 8 08:50 codec_gsm.o<br><br>I don't have PROC defined in makeopts.in<br><br>uname -a<br><br>Linux hash42pi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014<br>armv6l GNU/Linux<br><br><br>What could be causing my setup to compile ok, but not yours ?<br><br>Julian<br><br>On 4 March 2014 01:10, Rodrigo Borges Pereira<br><<a ymailto="mailto:rodrigoborgespereira@gmail.com" href="mailto:rodrigoborgespereira@gmail.com">rodrigoborgespereira@gmail.com</a>> wrote:<br>>
what about editing makeopts.in to have PROC=arm ?<br>><br>><br>> On Mon, Mar 3, 2014 at 9:48 PM, Doug <<a ymailto="mailto:dsc3507@yahoo.com" href="mailto:dsc3507@yahoo.com">dsc3507@yahoo.com</a>> wrote:<br>>><br>>> OK set PROC to -<br>>><br>>> OPTIMIZE+=-march=arm<br>>><br>>> and now getting tons of errors in k6opt.s<br>>><br>>> src/k6opt.s:350: Error: bad instruction `psllw %mm3,%mm0'<br>>> src/k6opt.s:351: Error: bad instruction `movd %mm0,%eax'<br>>> src/k6opt.s:352: Error: selected processor does not support ARM mode `movw<br>>> %ax,(%esi)'<br>>> src/k6opt.s:356: Error: bad instruction `emms'<br>>> src/k6opt.s:358: Error: bad instruction `popl %esi'<br>>> src/k6opt.s:359: Error: bad instruction `leave'<br>>> src/k6opt.s:360: Error: bad instruction `ret'<br>>> src/k6opt.s:367: Error: unrecognized symbol type ""<br>>> src/k6opt.s:372:
Error: unrecognized symbol type ""<br>>> src/k6opt.s:382: Error: unrecognized symbol type ""<br>>> src/k6opt.s:384: Error: bad instruction `pushl %ebp'<br>>> src/k6opt.s:385: Error: bad instruction `movl %esp,%ebp'<br>>> src/k6opt.s:386: Error: bad instruction `pushl %esi'<br>>><br>>> Doug Crompton<br>>> WA3DSP<br>>> <a href="http://www.crompton.com/" target="_blank">http://www.crompton.com</a><br>>><br>>><br>>> On Monday, March 3, 2014 3:18 PM, Rodrigo Borges Pereira<br>>> <<a ymailto="mailto:rodrigoborgespereira@gmail.com" href="mailto:rodrigoborgespereira@gmail.com">rodrigoborgespereira@gmail.com</a>> wrote:<br>>><br>>> Try to set PROC to arm.<br>>><br>>><br>>> On Mon, Mar 3, 2014 at 7:13 PM, Doug <<a ymailto="mailto:dsc3507@yahoo.com" href="mailto:dsc3507@yahoo.com">dsc3507@yahoo.com</a>> wrote:<br>>><br>>> I was successful
in compiling asterisk in raspbien except for the<br>>> following error If I enable the gsm codec. It appears there is something in<br>>> the Makefile n this directory that needs to be changed. Probably involving<br>>> optimization. Not sure why it does not recognize the processor since it is<br>>> one that is mentioned in the Makefile. Any help would be appreciated.<br>>><br>>> 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>>><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<br>>>
arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel<br>>> mips))<br>>> ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b<br>>> 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>>> Doug<br>>><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>>><br>>><br>>><br>>><br>><br>><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><br><br><br>-- <br>Julian Lyndon-Smith<br>IT Director, Dot R Limited<br><br>"I don't care if it works on your machine! We are not shipping your machine!"<br><br>The kangaroo dances: <a href="http://www.youtube.com/watch?v=MAWl5iYOaUg" target="_blank">http://www.youtube.com/watch?v=MAWl5iYOaUg</a><br><br><br></div> </blockquote> </div> </div> </div> </div></body></html>