笔记-arm-linux-gnueabi-ld: cannot find common/env_embedded.0的解决方法

来源:互联网 发布:好看的古装电影知乎 编辑:程序博客网 时间:2024/05/17 13:40

在使用飞思卡尔的IMX6Q编译U-boot时遇到这样一个问题:

Map u-boot.map -o u-boot

arm-linux-gnueabi-ld: cannot find common/env_embedded.o

make: *** [u-boot] Error 1

由于第一次使用这个平台,对代码不是很熟悉,看到这个错误,我当时就懵逼了。

不过解决方法很简单,先make distclean一下,然后重新生成make文件,最后再make就行了。