I have downloaded asterisk-22.214.171.124 and I m trying to Cross compile the asterisk to run on bcrm platform.
The compiler which I m using to compile is being produced by OpenWRT (refer to www.openwrt.org) called as “CC=mipsel-linux-uclibc-gcc” and the “host=mips”. The “./configure” is success but while making the asterisk through “make” is giving me the following error. (The Compiler Option and the host option are success. I have downloaded and installed the necessary Packages required for Cross Compiling the Asterisk.)
make: Leaving directory
/home/bogen/pirelli/lakshmi/Downloads/asterisk-126.96.36.199/menuselect/mxml' gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a make: Leaving directory/home/bogen/pirelli/lakshmi/Downloads/asterisk-188.8.131.52/menuselect’
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules …
[CC] stereorize.c -> stereorize.o
[CC] frame.c -> frame.o
[LD] stereorize.o frame.o -> stereorize
stereorize.o: file not recognized: Bad value
collect2: ld returned 1 exit status
make: *** [stereorize] Error 1
make: *** [utils] Error 2
Help me to solve this issue.
Thanks in advance,