This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM3352:为 meta-toolchain-Arago-tisdkin SDK 09.01启用 GCC 插件

Guru**** 2481505 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1456711/am3352-enable-gcc-plugin-for-meta-toolchain-arago-tisdkin-sdk-09-01

器件型号:AM3352

工具与软件:

您好!

我已经编译了"meta-toolchain-arago-tisdk"、并成功生成了其二进制文件。 但是、我在尝试编译树外内核驱动程序时遇到了与 GCC 插件相关的错误。

eInfochips@VM2568:~/work/WiFi/v6.1.97-backports make kLIB=$my_kernel kLIB_BUILD=$my_kernel ARCH=arm CROSS_COMPILE=/home/einfochips/work/toolchain_tisdk/sysroots/x86_64-arago-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-模块
cc [M]/home/einfochips/work/WiFi/v6.1.97-backports/compat/main.o
CC1:错误:无法加载插件。/scripts/gcc-plugins/arm_ssp_per_task_plugin.so:./scripts/gcc-plugins/arm_ssp_per_task_plugin.so:未定义的符号:_ZN8opt_pass14set_pass_paramEjb

此外,每当我尝试交叉编译hello_world.c,它给出了错误:"致命错误: stdio.h :没有这样的文件或目录。"

您能否指导我如何解决此问题、或者如何在生成的工具链二进制文件中包含 GCC 插件和标准头文件?

此致、
Pratik