天嵌 ARM开发社区

 找回密码
 注册
查看: 7030|回复: 8

u-boot移植问题 undefined reference to `raise' centos6

[复制链接]
haibin108 发表于 2012-1-2 21:33:44 | 显示全部楼层 |阅读模式
我将天嵌移植好的源码编译,有错误  过不去
ld: ERROR: modules/usb.module(usbinit.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usbinit.o)
arm-linux-ld: ERROR: modules/usb.module(usbin.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usbin.o)
arm-linux-ld: ERROR: modules/usb.module(usblib.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usblib.o)
arm-linux-ld: ERROR: modules/wince.module(wince_cmds.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/wince.module(wince_cmds.o)
arm-linux-ld: ERROR: modules/wince.module(ebootloader.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/wince.module(ebootloader.o)
arm-linux-ld: ERROR: modules/wince.module(extract_wince_image.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/wince.module(extract_wince_image.o)
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(_arm_addsubdf3.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_arm_addsubdf3.o)
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(_arm_muldivdf3.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_arm_muldivdf3.o)
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(_arm_fixdfsi.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_arm_fixdfsi.o)
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
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivdi3.o)
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(_udivsi3.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivsi3.o)
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(_dvmd_lnx.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_dvmd_lnx.o)
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(_clz.o) has EABI version 5, but target u-boot has EABI version 0
arm-linux-ld: failed to merge target specific data of file /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_clz.o)
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_dvmd_lnx.o): In function `__aeabi_ldiv0':
(.text+0x8): undefined reference to `raise'
make: *** [u-boot] 错误 1
[root@bby u-boot-1.1.6]#
求救  ,  用的系统是CentOS6
不言DXH 发表于 2012-1-3 13:05:48 | 显示全部楼层
"has EABI version 5, but target u-boot has EABI version 0" 这才是你的错误所在,编译器的问题!前面有个帖子也是这个问题,我建议你去看看天嵌提供的编译器安装视频,里面有一些讲解!
 楼主| haibin108 发表于 2012-1-3 17:00:23 | 显示全部楼层
3Q   已解决
不言DXH 发表于 2012-1-3 22:36:00 | 显示全部楼层
haibin108 发表于 2012-1-3 17:00
3Q   已解决

把解决方法贴出来额:)
 楼主| haibin108 发表于 2012-3-5 16:10:26 | 显示全部楼层
不言DXH 发表于 2012-1-3 22:36
把解决方法贴出来额

就是  编译器安装的问题  路径不对  改过来就好了
xlhl3 发表于 2012-4-24 09:10:18 | 显示全部楼层
咋个不对法呀!  楼主说说呀!
xlhl3 发表于 2012-4-24 09:14:58 | 显示全部楼层
为啥我的改了 还是有问题呀! 强烈要求楼主把咋改的贴出来。。。
afeikuo7 发表于 2012-7-10 10:46:22 | 显示全部楼层
楼主 不负责任~
antbone2010 发表于 2012-7-12 21:39:04 | 显示全部楼层
这个我碰到过,也发过帖子的,可惜没人回.折腾了好几天才弄好.原因可能是编译器不支持.我开始用的4.3.3编译器就是报的这个错误.后来改为3.4.5编译器就好了.能正常生成bin文件.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-6-3 20:20 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表