> $ ./configure CC=mipsel-linux-gcc CXX=mipsel-linux-g++ --host=mipsel  

It's been a while since I've cross compiled anything, but shouldn't the 
--host be mipsel-linux?  Then you don't need to supply CC or CXX. 
Because as you can see from the configure log, there are other programs 
that are not found (like mipsel-ranlib.)  Rather than manually specify 
all these programs (of which there could be dozens), getting the --host 
value right should allow them all to be discovered automatically.

 > configure: WARNING: In the future, Autoconf will not detect
 > cross-tools whose name does not start with the host triplet.

Perhaps you need to specify a full triplet instead.  From your build log 
this would appear to be --host=mipsel-linux-uclibc

malloc() is part of the C library, so it would appear that either you 
don't have a mipsel version of the C library installed, or the compiler 
can't find it.

If using the correct --host parameter doesn't fix the problem, it's 
probably your cross-compiler installation that's broken.

Cheers,
Adam.

Reply via email to