主题 : 光盘上的u-boot-1.1.6就是不能编译 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 696
精华: 1
发帖: 7
金钱: 90 两
威望: 27 点
贡献值: 10 点
综合积分: 34 分
注册时间: 2008-05-14
最后登录: 2008-05-20
楼主  发表于: 2008-05-20 11:38

 光盘上的u-boot-1.1.6就是不能编译

管理提醒: 本帖被 qq2440 执行置顶操作(2009-12-07)
 


#[root@friendlyarm u-boot-1.1.6]# make
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/opt/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/opt/u-boot-1.1.6/tools'
make[1]: Entering directory `/opt/u-boot-1.1.6/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/opt/u-boot-1.1.6/examples'
make[1]: Entering directory `/opt/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/opt/u-boot-1.1.6/post'
make[1]: Entering directory `/opt/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/opt/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: Entering directory `/opt/u-boot-1.1.6/tools'
make[1]: *** No rule to make target `/home/yf/arm-linux/u-boot-1.1.6/include/image.h', needed by `mkimage.o'.  Stop.
make[1]: Leaving directory `/opt/u-boot-1.1.6/tools'
make: *** [tools] Error 2

光盘上提供的u-boot-1.1.6就是不能编译  总出现上面的错误 
那位朋友帮忙看看撒 谢谢  我用的是arm-linux-gcc -3.3.2
级别: 新手上路
UID: 13241
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 30 分
注册时间: 2010-01-20
最后登录: 2017-09-13
1楼  发表于: 2010-02-02 22:00
我试了还是编译不了啊
级别: 新手上路
UID: 13241
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 30 分
注册时间: 2010-01-20
最后登录: 2017-09-13
2楼  发表于: 2010-02-02 22:10
先make distclean
再 make open24x0_confing
再make
第一个提示的错误是
arm-linux-ld: ERROR: Source object /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivdi3.o) has EABI version 5, but target u-boot has EABI version 0