[asterisk-users] gsm codec compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Mar 23 13:18:01 CDT 2014

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 sure why it does not recognize the processor since it is one that is mentioned in the Makefile.  Any help would be appreciated. 
> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm'
>    [AS] src/k6opt.s -> src/k6opt.o
> Assembler messages:
> Error: unknown architecture `armv6l'
> Error: unrecognized option -march=armv6l
> make[2]: *** [src/k6opt.o] Error 1

For the sake of the archives: Just use the system libgsm (make sure you
have libgsm-dev installed). No point in using the bundled version.

               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com

More information about the asterisk-users mailing list