[ELDK] arm-linux-x86 failure
Kin Cho
send.kin.mail at gmail.com
Wed Jul 22 18:16:09 CEST 2009
Hi,
I'm new to ELDK.
I loop-mounted arm-2008-11-24.iso and successfully installed with a command
like this (on a i686 Ubuntu 9.04):
/mnt/loop/install -d /home/kin/eldk/ arm
After installation, my first test is a failure:
/home/kin/eldk/usr/arm-linux/bin/gcc test.c -o test
test.c:1:19: error: stdio.h: No such file or directory
test.c: In function 'main':
test.c:4: warning: incompatible implicit declaration of built-in function
'printf'
test.c is included below. For some reason eldk was not able to find
/usr/include in /home/kin/eldk. I found stdio.h in the target directory
and got a bit further:
/home/kin/eldk/usr/arm-linux/bin/gcc -I/home/kin/eldk/arm/usr/include test.c
/home/kin/eldk/arm/usr/lib/crt1.o -o test
/home/kin/eldk/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/../../../../arm-linux-gnueabi/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
Something is definitely wrong, and I got the same problem after "rm -rf
/home/kin/eldk/" and reinstall.
Any ideas?
Thanks,
-kin
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("%s\n", argv[0]);
return 0;
}
More information about the eldk
mailing list