在ti-processor-sdk-linux-am335x-evm-09.01.00.001目录下,终端里执行make,编译失败。提示如下
SYNC include/config/auto.conf.cmd
HOSTCC scripts/sorttable
HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
In file included from /home/wxc/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/11.3.1/plugin/include/gcc-plugin.h:28,
from scripts/gcc-plugins/gcc-common.h:7,
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/wxc/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/11.3.1/plugin/include/system.h:698:10: fatal error: gmp.h: 没有那个文件或目录
698 | #include <gmp.h>
| ^~~~~~~
compilation terminated.
make[3]: *** [scripts/gcc-plugins/Makefile:54:scripts/gcc-plugins/arm_ssp_per_task_plugin.so] 错误 1
make[2]: *** [scripts/Makefile.build:502:scripts/gcc-plugins] 错误 2
make[2]: *** 正在等待未完成的任务....
make[1]: *** [Makefile:1273:scripts] 错误 2
make[1]: 离开目录“/home/wxc/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681”
make: *** [makerules/Makefile_linux:8:linux] 错误 2
提示找不到gmp.h文件