The image used is the one downloaded by the adt installer See the error below: lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ ${CC} test.c -o test_arm -lm test.c:1:19: fatal error: stdio.h: No such file or directory compilation terminated. lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ find . -name "stdio.h" ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/stdio.h ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/bits/stdio.h ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/include/stdio.h ./usr/include/stdio.h ./usr/include/bits/stdio.h ./usr/include/c++/tr1/stdio.h ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/stdio.h ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/bits/stdio.h ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/include/stdio.h ./x86_64-pokysdk-linux/usr/include/stdio.h ./x86_64-pokysdk-linux/usr/include/bits/stdio.h ./x86_64-pokysdk-linux/usr/include/c++/tr1/stdio.h lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ vim test.c lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ ${CC} test.c -o test_arm -lm test.c:2:18: fatal error: math.h: No such file or directory
LaurentiuP: I suspect your latest relocatable ADT change will address this issue. But can you double check with LaurentiuS. If it's a different issue, probably Bogdan can cover you on this. Thx
(In reply to comment #0) > The image used is the one downloaded by the adt installer > See the error below: > > lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ ${CC} test.c -o test_arm > -lm > test.c:1:19: fatal error: stdio.h: No such file or directory > compilation terminated. > lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ find . -name "stdio.h" > ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/stdio.h > ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/libio/bits/stdio.h > ./usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/libc/include/stdio.h > ./usr/include/stdio.h > ./usr/include/bits/stdio.h > ./usr/include/c++/tr1/stdio.h > ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/ > libc/libio/stdio.h > ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/ > libc/libio/bits/stdio.h > ./x86_64-pokysdk-linux/usr/src/debug/eglibc-2.13-r26+svnr15508/eglibc-2_13/ > libc/include/stdio.h > ./x86_64-pokysdk-linux/usr/include/stdio.h > ./x86_64-pokysdk-linux/usr/include/bits/stdio.h > ./x86_64-pokysdk-linux/usr/include/c++/tr1/stdio.h > lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ vim test.c > lserban@computer2:/opt/poky/1.2+snapshot/sysroots$ ${CC} test.c -o test_arm > -lm > test.c:2:18: fatal error: math.h: No such file or directory this not met in nightly build 20120814-1 and 20120810-2 (1.3 M3) when run below: ${CC} test.c -o test_arm -lm when run " find . -name 'stdio.h' -print" in the installed meta-toolchain from nightly build 20120814-1,below the output: ./sysroots/armv5te-poky-linux-gnueabi/usr/include/stdio.h ./sysroots/armv5te-poky-linux-gnueabi/usr/include/bits/stdio.h ./sysroots/armv5te-poky-linux-gnueabi/usr/include/c++/tr1/stdio.h ./sysroots/armv5te-poky-linux-gnueabi/usr/src/debug/eglibc-2.16-r5+svnr19383/eglibc-2_16/libc/include/stdio.h ./sysroots/armv5te-poky-linux-gnueabi/usr/src/debug/eglibc-2.16-r5+svnr19383/eglibc-2_16/libc/libio/stdio.h ./sysroots/armv5te-poky-linux-gnueabi/usr/src/debug/eglibc-2.16-r5+svnr19383/eglibc-2_16/libc/libio/bits/stdio.h the eglibc version is 2.16 not 2_13. so this error perhaps met in other poky branch ?
It works with the latest ADT nightly (http://autobuilder.yoctoproject.org/pub/nightly/20120829-1) that integrates LaurentiuP patches for relocatable SDK.
fixed.