Trying to cross compile with uClibc, no sucess!

Thierry Reding thierry.reding at avionic-design.de
Thu May 6 08:40:53 UTC 2010


* Takaite Takehara wrote:
>    Hi guys;
>    I'm quite sure that somebody already ask this, but I could not find in
>    the mail list search.
>    I'll work with a MIPS platform and want to use uClibc. To improve my
>    development, I want to test in my PC and then cross-compile to MIPS and
>    test again.
>    Using the GLib every thing goes ok (a "Hello Word" program). When I
>    build with the toolchain for x86 everything goes ok but when I try to
>    run the application I got de message
>    takaite at takaite-virtualbox:~/embedded/312S01 - Firmware Media
>    Gateway/editor/312S01/dist/Debug/i586-linux-uClibc-Linux-x86$ ./312s01
>    bash: ./312s01: No such file or directory
>    What I'm doing wrong? I tried the compiled packet x86 from uclibc.org
>    and with a compiled version made by me my using buildroot!
>    Somebody can help me?

Perhaps the uClibc ELF loader is not in the correct location. Try running
'readelf -l' on your binary and look for the line that says something like
"Requesting program interpreter:". That file needs to exist or you won't be
able to run the binary.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20100506/0961b987/attachment.pgp>


More information about the uClibc mailing list