* [Buildroot] Build ok, but the toolschain don't work
@ 2009-02-07 8:16 w wg
2009-02-07 19:19 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: w wg @ 2009-02-07 8:16 UTC (permalink / raw)
To: buildroot
Hi,
I have built my project succesfully. But I the toolchains seems not
being work succesfully.
lfs at diy:~$ cat test.c
#include <stdio.h>
int main() {
printf("Hello !\n");
}
i686-linux-gcc -o test test.c
echo $?
0
./test
-bash: ./test: No such file or directory
lfs at diy:~$ i686-linux-ldd test
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libc.so.6'
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
libc.so.0 => not found (0x00000000)
libc.so.6 => /lib/libc.so.6 (0x00000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
Please help, Thank you.
--
--
WenGe Wang
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Build ok, but the toolschain don't work
2009-02-07 8:16 [Buildroot] Build ok, but the toolschain don't work w wg
@ 2009-02-07 19:19 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-02-07 19:19 UTC (permalink / raw)
To: buildroot
>>>>> "w" == w wg <duzuike@gmail.com> writes:
w> Hi,
w> I have built my project succesfully. But I the toolchains seems not
w> being work succesfully.
w> lfs at diy:~$ cat test.c
w> #include <stdio.h>
w> int main() {
w> printf("Hello !\n");
w> }
w> i686-linux-gcc -o test test.c
w> echo $?
w> 0
w> ./test
w> -bash: ./test: No such file or directory
It doesn't find your uclibc C library. Either execute it in your
rootfs chroot, or compile statically.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-07 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 8:16 [Buildroot] Build ok, but the toolschain don't work w wg
2009-02-07 19:19 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox