免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3264 | 回复: 1

[BootLoader] u-boot编译不过...... [复制链接]

论坛徽章:
0
发表于 2011-11-06 10:10 |显示全部楼层
弄了很多天了。。。百度、谷歌了很多遍。。。还没能解决。。。各位大大帮帮忙呃。。。u-boot怎么也编译不过去。。。下面是消息:

[root@localhost u-boot]# pwd
/root/workspace/u-boot
[root@localhost u-boot]# make smdk2410_config
Configuring for smdk2410 board...
/root/workspace/u-boot/mkconfig,smdk2410,arm,arm920t,smdk2410,NULL,s3c24x0
[root@localhost u-boot]# make CROSS_COMPILE=arm-linux-
Generating include/autoconf.mk.dep
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/root/workspace/u-boot/tools'
make[1]: *** 没有规则可以创建目标“_depend”。 停止。
make[1]: Leaving directory `/root/workspace/u-boot/tools'
make[1]: Entering directory `/root/workspace/u-boot/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/root/workspace/u-boot/examples'
make[1]: Entering directory `/root/workspace/u-boot/api_examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/root/workspace/u-boot/api_examples'
Generating include/autoconf.mk
make -C tools all
make[1]: Entering directory `/root/workspace/u-boot/tools'
System not configured - see README
make[1]: *** [all] 错误 1
make[1]: Leaving directory `/root/workspace/u-boot/tools'
make: *** [tools] 错误 2
[root@localhost u-boot]#


我用的是友善之臂光碟配来的arm-linux-gcc-4.4.3.tar
u-boot是国嵌光碟里的u-boot-2008.10.tar
系统是Red Hat Enterprise Linux 5

论坛徽章:
0
发表于 2011-11-08 16:18 |显示全部楼层
执行一下make distclean 应该就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP