TI中文支持网
TI专业的中文技术问题搜集分享网站

编译ti-processor-sdk-linux-am335x-evm-02.00.02.11的问题

执行source environment-setup后

然后想编译一下u-boot,然后就报以下的错误了,怎么解?

[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/u-boot-2015.07+gitAUTOINC+46c915c963> make am335x_evm_config
  HOSTCC  scripts/basic/fixdep
In file included from /home/kevin/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/kevin/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/kevin/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: 没有那个文件或目录
 # include <gnu/stubs-soft.h>
                             ^
compilation terminated.
make[1]: *** [scripts/basic/fixdep] 错误 1
make: *** [scripts_basic] 错误 2
[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/u-boot-2015.07+gitAUTOINC+46c915c963>

Denny%20Yang99373:

直接在

~/ti-processor-sdk-linux-am335x-evm-02.00.02.11/

下面make u-boot试试

Kevin Li1:

回复 Denny%20Yang99373:

谢谢您的答复,在这个目录下执行,还是有错误

目录下确实找不到指定的文件,是少安装什么库吗?

[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-02.00.02.11> make u-boot===================================Building U-boot===================================make -j 1 -C /home/kevin/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/u-boot-* CROSS_COMPILE=/home/kevin/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am335x_evm_configmake[1]: Entering directory `/home/kevin/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/u-boot-2015.07+gitAUTOINC+46c915c963' HOSTCC scripts/basic/fixdepIn file included from /home/kevin/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/kevin/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/kevin/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 <gnu/stubs-soft.h> ^compilation terminated.make[2]: *** [scripts/basic/fixdep] Error 1make[1]: *** [scripts_basic] Error 2make[1]: Leaving directory `/home/kevin/ti-processor-sdk-linux-am335x-evm-02.00.02.11/board-support/u-boot-2015.07+gitAUTOINC+46c915c963'make: *** [u-boot] Error 2

Kevin Li1:

回复 Steven Liu1:

嗯,按照这种方式,确实编译没有问题了

可是很奇怪,执行source environment-setup也建立了环境啊

为啥不行

赞(0)
未经允许不得转载:TI中文支持网 » 编译ti-processor-sdk-linux-am335x-evm-02.00.02.11的问题
分享到: 更多 (0)