uboot编译错误error:no rule to make target include/stddef.h,needed by 'img2srec.o'

来源:互联网 发布:dior fix it colour 编辑:程序博客网 时间:2024/05/21 20:25

原文地址:http://blog.csdn.net/xishuang_gongzi/article/details/50426158

make[1]: *** no rule to make target '/usr/lib/gcc/i486-linux-gun/4.3.2//include/stddef.h',needed by 'img2srec.o',stop,
make[1]:leaving directory '/usr/local/arm/u-boot-1.3.2/tools'
make: *** [tools] error 2

这个问题出在没有进行make distclean上面,进行make之前一定要先make distclean将上次的东西清干净了。

有些没有make distclean,需要make clean然后make clobber。

make clobber:删除所有配置所编译输出的结果文件
阅读全文
0 0
原创粉丝点击