主题 : u-boot编译不过啊 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 53197
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
贡献值: 0 点
综合积分: 20 分
注册时间: 2011-08-02
最后登录: 2012-04-29
楼主  发表于: 2011-11-06 10:16

 u-boot编译不过啊

弄了很多天了。。。百度、谷歌了很多遍。。。还没能解决。。。各位大大帮帮忙呃。。。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
级别: 新手上路
UID: 58614
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2011-11-10
最后登录: 2011-11-25
1楼  发表于: 2011-11-10 15:21
这位仁兄:
  这个问题怎么样了。现在我也遇到了同样的问题。
  不知道怎么解决。换了编译器,也是 一样。
  郁闷···
只要学就会有进步