天嵌 ARM开发社区

 找回密码
 注册
查看: 4921|回复: 9

u-boot-1.1.6 编译错误

[复制链接]
qianguozheng 发表于 2012-2-15 22:07:20 | 显示全部楼层 |阅读模式
/opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_udivsi3.o): In function `__aeabi_uidiv':
(.text+0x0): multiple definition of `__udivsi3'
lib_arm/libarm.a(_udivsi3.o):/home/gradute/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_arm_addsubdf3.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_arm_muldivdf3.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_arm_fixdfsi.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_udivdi3.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_udivsi3.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_dvmd_lnx.o)
arm-linux-ld: error: Source object /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/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 /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_clz.o)
/opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
/opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/armv4t/libgcc.a(_dvmd_lnx.o): In function `__aeabi_ldiv0':
(.text+0x8): undefined reference to `raise'
make: *** [u-boot] Error 1
root@ubuntu:/home/gradute/u-boot-1.1.6#



上面是错误信息,我只是
make EmbedSky_config
make
然后就出现了上面的错误了,交叉工具链没有问题啊。。。。神马情况????
记事本 发表于 2012-2-15 22:14:54 | 显示全部楼层
用3.4.5的交叉编译器编译
 楼主| qianguozheng 发表于 2012-2-15 22:34:44 | 显示全部楼层
记事本 发表于 2012-2-15 22:14
用3.4.5的交叉编译器编译

没有额。。而且我这个都是光盘里面提供的啊。。。
记事本 发表于 2012-2-15 22:41:32 | 显示全部楼层
qianguozheng 发表于 2012-2-15 22:34
没有额。。而且我这个都是光盘里面提供的啊。。。

你这个是用4.3.3编译的呃 你改成3.4.5的试试啊 建议你看看手册91页
 楼主| qianguozheng 发表于 2012-2-15 23:47:21 | 显示全部楼层
记事本 发表于 2012-2-15 22:41
你这个是用4.3.3编译的呃 你改成3.4.5的试试啊 建议你看看手册91页

乖乖,是我看书不仔细,懊恼啊,谢谢啊,你QQ号码多少,多多交流
海边疯 发表于 2012-2-16 13:02:45 | 显示全部楼层
顶一个先吧
 楼主| qianguozheng 发表于 2012-2-16 20:14:28 | 显示全部楼层
记事本 发表于 2012-2-15 22:41
你这个是用4.3.3编译的呃 你改成3.4.5的试试啊 建议你看看手册91页

我看了。。。没发现什么有用的信息额。。。求指教
记事本 发表于 2012-2-16 20:32:56 | 显示全部楼层
qianguozheng 发表于 2012-2-16 20:14
我看了。。。没发现什么有用的信息额。。。求指教

肿么会没发现有用信息呢?图中红色部分呃

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| qianguozheng 发表于 2012-2-16 21:16:03 | 显示全部楼层
额。。。我显然记得我曾经编译过u-boot。。。。而且成功了,但是是为了在TQ2440上面移植Android,修改机器码的,现在怎么就不行了呢????。。
不过谢谢你啊,但是那个3.4.5的交叉编译环境在哪里呢?
记事本 发表于 2012-2-16 22:07:26 | 显示全部楼层
qianguozheng 发表于 2012-2-16 21:16
额。。。我显然记得我曾经编译过u-boot。。。。而且成功了,但是是为了在TQ2440上面移植Android,修改机器码 ...

在你安装4.3.3的编译器时就默认安装了3.4.5的  两个在同一级的目录下  目录名称分别为4.3.3和crosstools_3.4.5_softfloat

评分

参与人数 1 +5 收起 理由
qianguozheng + 5 神马都是浮云

查看全部评分

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

本版积分规则

关闭

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

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

GMT+8, 2024-5-25 18:37 , Processed in 1.031250 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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