Dear All,
I have a little problem when compiling the version 8 of the SDK (ti-sdk-am335x-evm-08.00.00.00).
I followed all the steps described in the "Getting Started Guide" and:
1) I can successfully build the linux kernel
2) I can successfully build the u-boot
but when compiling the SDK I have a little problem since the build of ARM BENCKMARS does not find the "stdio.h".
Maybe I can arrange the makefile to find the requested header but I find quite strange the makefile does not work out of the box and maybe I forget something.
The host computer runs Ubuntu 10.04 LTS.
Here the build error:
============================= Building ARM Benchmarks ============================= make[1]: Entering directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3' for dir in dhrystone whetstone linpack; do \ make -C $dir debug; \ done make[2]: Entering directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/dhrystone' /home/ermes/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -DTIME -c -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -oDebug/dhry_1.o dhry_1.c In file included from dhry_1.c:56:0: dhry.h:432:19: fatal error: stdio.h: No such file or directory compilation terminated. make[2]: *** [Debug/dhry_1.o] Error 1 make[2]: Leaving directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/dhrystone' make[2]: Entering directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/whetstone' /home/ermes/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -fmessage-length=0 -Wall -c -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -oDebug/whetstone.o whetstone.c whetstone.c:93:20: fatal error: stdlib.h: No such file or directory compilation terminated. make[2]: *** [Debug/whetstone.o] Error 1 make[2]: Leaving directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/whetstone' make[2]: Entering directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/linpack' /home/ermes/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -DUNROLL -DSP -fmessage-length=0 -c -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -oDebug/linpack.o linpack.c linpack.c:89:19: fatal error: stdio.h: No such file or directory compilation terminated. make[2]: *** [Debug/linpack.o] Error 1 make[2]: Leaving directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3/linpack' make[1]: *** [debug] Error 2 make[1]: Leaving directory `/home/ermes/ti-sdk-am335x-evm-08.00.00.00/example-applications/arm-benchmarks-1.3' make: *** [arm-benchmarks] Error 2
In the SDK path stdio.h is located in the following folders:
./linux-devkit/sysroots/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/include/c++/4.7.3/tr1/stdio.h ./linux-devkit/sysroots/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/usr/include/bits/stdio.h ./linux-devkit/sysroots/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/usr/include/stdio.h ./linux-devkit/sysroots/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/usr/include/arm-linux-gnueabi/bits/stdio.h ./linux-devkit/sysroots/i686-arago-linux/usr/lib/gcc/arm-linux-gnueabihf/4.7.3/include/ssp/stdio.h