TIwilliam hill官网
直播中

刘琨

7年用户 200经验值
私信 关注

请问ti-processor-sdk-linux-am335x-evm-02.00.02.11编译错误应该如何解决?

本帖最后由 一只耳朵怪 于 2018-6-20 15:42 编辑

Linux系统信息:
Linux ubuntu 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
make时出错,信息如下:
=====================================
Building the Linux Kernel DTBs
=====================================
make -C /home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/linux-4.1.18+gitAUTOINC+bbe8cfc1da-gbbe8cfc ARCH=ARM CROSS_COMPILE=/home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am335x-evm_defconfig
make[1]: Entering directory `/home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/linux-4.1.18+gitAUTOINC+bbe8cfc1da-gbbe8cfc'
HOSTCC scripts/basic/fixdep
In file included from /home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/cortexa8hf-vfp-neon-linux-gnueabi/usr/include/features.h:402:0,
from /home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/cortexa8hf-vfp-neon-linux-gnueabi/usr/include/sys/types.h:25,
from scripts/basic/fixdep.c:106:
/home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/cortexa8hf-vfp-neon-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
# include
^
compilation terminated.
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/home/yong/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/linux-4.1.18+gitAUTOINC+bbe8cfc1da-gbbe8cfc'
make: *** [linux-dtbs] Error 2
谢谢!

回帖(2)

罗兰君

2018-6-20 05:38:51
请问有参考过这篇文档做的编译么:http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide
举报

刘琨

2018-6-20 05:54:11
引用: 344868615qq 发表于 2018-6-20 05:38
请问有参考过这篇文档做的编译么:http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide

you do NOT source the environment-setup file included with the toolchain when building the kernel
这是我犯的错误,谢谢!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分