天嵌 ARM开发社区

 找回密码
 注册
查看: 7747|回复: 3

tq源码u-boot1.1.6编译不过

[复制链接]
hzxs533522 发表于 2010-8-31 17:59:33 | 显示全部楼层 |阅读模式
天嵌的源码u-boot编译不过,不知怎么回事?


lib_arm/libarm.a(_udivsi3.o):/home/work/opt/EmbedSky/u-boot-1.1.6/lib_arm/_udivsi3.S:17: first defined here
arm-linux-ld: ERROR: modules/usb.module(usbmain.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usbmain.o)
arm-linux-ld: ERROR: modules/usb.module(usbout.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usbout.o)
arm-linux-ld: ERROR: modules/usb.module(usbsetup.o) uses FPA instructions, whereas u-boot does not
arm-linux-ld: failed to merge target specific data of file modules/usb.module(usbsetup.o)
arm-linux-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] 错误
天嵌_support1 发表于 2010-8-31 18:14:50 | 显示全部楼层
arm-none-linux-gnueabi/4.3.2  这个编译器编译不了的。
用这个 crosstools_3.4.5_softfloat
回复

使用道具 举报

 楼主| hzxs533522 发表于 2010-9-1 11:34:29 | 显示全部楼层
2# embedsky_lxt


这样子啊
回复

使用道具 举报

wuchguang 发表于 2010-9-2 23:13:59 | 显示全部楼层
1# hzxs533522


看了你的编译过程打印出的信息,你使用的交叉编译器是4.3.2 的,它提供了EABI技术。而我们的U-boot1.1.6是不支持EABI的,所以你可以把CROSS_COMPILE=…………(你的交叉编译器),改为:CROSS_COMPILE=/opt/EmbedSky/crosstools_3.4.5_softloat/gcc-3.4.5-glibc-2.3.6/arm-linux/bin/arm-linux-
就可正常编译成功。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-5-29 15:13 , Processed in 2.036413 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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