Part Number: EVMK2H
Tool/software: Linux
I have successfully installed the Linux SDK (ti-processor-sdk-linux-k2hk-evm-05.03.00.07). When I go into any of the "example-applications" and try to compile them I received the following error:
Output from trying to compile: arm-benchmarks-1.3
make
for dir in dhrystone whetstone linpack; do \
make -C $dir debug; \
done
make[1]: Entering directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/dhrystone'
/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -DTIME -c -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -oDebug/dhry_1.o dhry_1.c
In file included from dhry_1.c:56:0:
dhry.h:432:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
Makefile:100: recipe for target 'Debug/dhry_1.o' failed
make[1]: *** [Debug/dhry_1.o] Error 1
make[1]: Leaving directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/dhrystone'
make[1]: Entering directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/whetstone'
/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -fmessage-length=0 -Wall -c -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -oDebug/whetstone.o whetstone.c
whetstone.c:93:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
Makefile:102: recipe for target 'Debug/whetstone.o' failed
make[1]: *** [Debug/whetstone.o] Error 1
make[1]: Leaving directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/whetstone'
make[1]: Entering directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/linpack'
/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -g3 -gdwarf-2 -DUNROLL -DSP -fmessage-length=0 -c -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -oDebug/linpack.o linpack.c
linpack.c:89:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
Makefile:102: recipe for target 'Debug/linpack.o' failed
make[1]: *** [Debug/linpack.o] Error 1
make[1]: Leaving directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/example-applications/arm-benchmarks-1.3/linpack'
Makefile:7: recipe for target 'debug' failed
make: *** [debug] Error 2
What are the steps needed to be able to build the example applications and target them to the EVMK2H board, while running Linux. BTW: Yes, I am only interested in running on the SoC at this time.
Thanks!