Illegal instruction when running asterisk

Hi all,
There’s something going wrong with my asterisk… I need to put it in a compact flash so I must safe as much space as possible. For this space saving purpose, I installed asterisk in a virtual machine which has the same kernel version, same OS, … and after that, i moved all the necesary files to the compact flash.
It works fine on the virtual machine but when i move the files to the compact flash, i get some problems with the lpc10tolin and gsmtolin codecs, which are making asterisk unable to start (illegal instruction).

In order to get rid of that messages I decided not to load that modules ( noload => codec_gsm.so, noload => codec_lpc10.so) and I got it to start. However, once I have configured all the SIP clients and all the network, when I’m trying to make a call I get the next warning messages:

[May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: bridging.c:577 bridge_make_compatible: Failed to set channel SIP/ipl2-00000001 to read format slin [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: channel.c:4986 ast_write: Codec mismatch on channel SIP/ipl2-00000001 setting write format to slin from gsm native formats (gsm) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: chan_sip.c:6492 sip_write: Asked to transmit frame type slin, while native formats is (gsm) read/write = gsm/gsm [May 29 17:26:22] WARNING[2008]: channel.c:4986 ast_write: Codec mismatch on channel SIP/ipl2-00000001 setting write format to slin from gsm native formats (gsm) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: chan_sip.c:6492 sip_write: Asked to transmit frame type slin, while native formats is (gsm) read/write = gsm/gsm [May 29 17:26:22] WARNING[2008]: channel.c:4986 ast_write: Codec mismatch on channel SIP/ipl2-00000001 setting write format to slin from gsm native formats (gsm) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: chan_sip.c:6492 sip_write: Asked to transmit frame type slin, while native formats is (gsm) read/write = gsm/gsm [May 29 17:26:22] WARNING[2008]: channel.c:4986 ast_write: Codec mismatch on channel SIP/ipl2-00000001 setting write format to slin from gsm native formats (gsm) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: chan_sip.c:6492 sip_write: Asked to transmit frame type slin, while native formats is (gsm) read/write = gsm/gsm [May 29 17:26:22] WARNING[2008]: channel.c:4986 ast_write: Codec mismatch on channel SIP/ipl2-00000001 setting write format to slin from gsm native formats (gsm) [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (gsm) to (slin) [May 29 17:26:22] WARNING[2008]: chan_sip.c:6492 sip_write: Asked to transmit frame type slin, while native formats is (gsm) read/write = gsm/gsm [May 29 17:26:22] WARNING[2008]: channel.c:5194 set_format: Unable to find a codec translation path from (alaw) to (gsm) Illegal instruction

which I guess makes sense if the previous modules are not loaded, but… :frowning:
Could somebody help me with these issues?
Thanks very much!!

Different processor.

alright, thanks David!
But how could I fix this?

Compile on the target processor, or force the choice of processor when running ./configure (if possible - if not adjust the files created by ./configure to select a suitable target processor.