Asterisk Cross Compilation Failure

Hi,

I have downloaded asterisk-1.6.0.6 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.)

anlib libmxml.a
make[2]: Leaving directory /home/bogen/pirelli/lakshmi/Downloads/asterisk-1.6.0.6/menuselect/mxml' gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a make[1]: Leaving directory/home/bogen/pirelli/lakshmi/Downloads/asterisk-1.6.0.6/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[1]: *** [stereorize] Error 1
make: *** [utils] Error 2

Help me to solve this issue.
Thanks in advance,
Regards

Powar