haibin108 发表于 2012-1-2 21:33:44

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

我将天嵌移植好的源码编译,有错误过不去
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: *** 错误 1
#
求救,用的系统是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 static/image/common/back.gif
3Q   已解决

把解决方法贴出来额:)

haibin108 发表于 2012-3-5 16:10:26

不言DXH 发表于 2012-1-3 22:36 static/image/common/back.gif
把解决方法贴出来额

就是编译器安装的问题路径不对改过来就好了

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文件.
页: [1]
查看完整版本: u-boot移植问题 undefined reference to `raise' centos6