Hi,<br>
<br>
I'm trying to make Asterisk (1.2.11) run on a board based on a n ARM core processor.<br>
On the board a Linux 2.4.20 is currently running.<br>
<br>
I can successfully compile Asterisk with my ARM toolchain (arm-linux-gcc 3.2.3) but when<br>
I launch it on my board the only thing I get is:<br>
<br>
root@192.168.0.68:~/igt# asterisk -vvvvvcg<br>
Illegal instruction<br>
root@192.168.0.68:~/igt#<br clear="all"><br>
I googled a bit looking for information about this error but I couldn't find a real solution.<br>
The only hint about this error was that there could be a compile problem.<br>
But all the files and the modules built during the compile process are<br>
<br>
ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.0,
dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped<br>
<br>
These are the settings I did for arm cross compiling in the main makefile<br>
<br>
CROSS_COMPILE=/usr/local/arm/bin/arm-linux-<br>
CROSS_COMPILE_BIN=/usr/local/arm/bin/<br>
CROSS_COMPILE_TARGET=/usr/local/arm/arm-linux/include<br>
CC=$(CROSS_COMPILE)gcc<br>
HOST_CC=gcc<br>
CROSS_ARCH=Linux<br>
CROSS_PROC=arm<br>
# SUB_PROC=xscale # or maverick<br>
<br>
I really don't know how to proceed to have an Asterisk running on my arm platform.<br>
Any hint or suggestion is really appreciated.<br>
Thanks in advance to everybody,<br>
<br>
Igor.<br>
<br>-- <br>"Much less doesn't mean zero"<br>-- E.Benetti --