主题 : u-boot-1.1.6-FA24x0.tar.gz  编译问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 31104
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2010-10-26
最后登录: 2010-10-26
楼主  发表于: 2010-10-26 16:13

 u-boot-1.1.6-FA24x0.tar.gz  编译问题

我解压了了u-boot-1.1.6-FA24x0.tar.gz  然后编译怎么老是出现这样的问题,arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(_dvmd_lnx.o) has EABI version 5, but target u-boot has EABI version 0
arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(_dvmd_lnx.o)
/usr/local/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(_dvmd_lnx.o): In  `__aeabi_ldiv0′

(.text+0×8): undefined reference to `raise’
make: *** [u-boot] Error 1

那位大侠帮忙解决下啊
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-10-27 16:45

 Re:u-boot-1.1.6-FA24x0.tar.gz 编译问题

不要用4.3.3或其他EABI类型的交叉编译器去编译1.1.6版本的u-boot
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."