Re: [asterisk-users] gsm codec compile

2014-03-23 Thread Tzafrir Cohen
On Mon, Mar 03, 2014 at 11:13:52AM -0800, Doug wrote: 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

Re: [asterisk-users] gsm codec compile

2014-03-04 Thread Doug
Julian,  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.  Doug On Tuesday, March 4, 2014

Re: [asterisk-users] gsm codec compile

2014-03-04 Thread Julian Lyndon-Smith
oh, ok. I'm using asterisk-12. Native compiling On 4 March 2014 08:48, Doug dsc3...@yahoo.com wrote: Julian, 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

Re: [asterisk-users] gsm codec compile

2014-03-04 Thread Julian Beach
Hello Doug, Monday, March 3, 2014, 7:13:52 PM, you wrote: 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

[asterisk-users] gsm codec compile

2014-03-03 Thread Doug
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

Re: [asterisk-users] gsm codec compile

2014-03-03 Thread Rodrigo Borges Pereira
Try to set PROC to arm. On Mon, Mar 3, 2014 at 7:13 PM, Doug dsc3...@yahoo.com wrote: 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

Re: [asterisk-users] gsm codec compile

2014-03-03 Thread Doug
OK set PROC to - OPTIMIZE+=-march=arm and now getting tons of errors in k6opt.s src/k6opt.s:350: Error: bad instruction `psllw %mm3,%mm0' src/k6opt.s:351: Error: bad instruction `movd %mm0,%eax' src/k6opt.s:352: Error: selected processor does not support ARM mode `movw %ax,(%esi)'

Re: [asterisk-users] gsm codec compile

2014-03-03 Thread Rodrigo Borges Pereira
what about editing makeopts.in to have PROC=arm ? On Mon, Mar 3, 2014 at 9:48 PM, Doug dsc3...@yahoo.com wrote: OK set PROC to - OPTIMIZE+=-march=arm and now getting tons of errors in k6opt.s src/k6opt.s:350: Error: bad instruction `psllw %mm3,%mm0' src/k6opt.s:351: Error: bad

Re: [asterisk-users] gsm codec compile

2014-03-03 Thread Doug
Ok got it going. Problem was I didn't do what you said the first time.  When I put PROC = arm at the beginning of the Makefile in  asterisk/codecs/gsm   It compiles fine.   Doug Crompton WA3DSP http://www.crompton.com On Monday, March 3, 2014 8:10 PM, Rodrigo Borges Pereira

Re: [asterisk-users] gsm codec compile

2014-03-03 Thread Julian Lyndon-Smith
this is all very odd. I have been compiling on raspbian wheezy for a few months now, and have never come across this error -rw-r--r-- 1 root root 6128 Aug 25 2013 codec_gsm.c -rw-r--r-- 1 root root126 Feb 8 08:50 codec_gsm.exports -rw-r--r-- 1 root root 181808 Feb 8 08:50 codec_gsm.o I