天嵌 ARM开发社区

 找回密码
 注册
查看: 6998|回复: 4

U-BOOT 编译错误

[复制链接]
11qiaoqi 发表于 2013-7-10 15:35:21 | 显示全部楼层 |阅读模式
本帖最后由 11qiaoqi 于 2013-7-10 16:34 编辑

大家好,刚开始尝试自己编译U-BOOT ,make之后出现下面的错误,麻烦大家帮帮分析下,谢谢!!!
make[1]: Leaving directory `/armsys2410/u-boot-2013.04/test'
make[1]: Entering directory `/armsys2410/u-boot-2013.04/test'
rm -f libtest.o; arm-linux-ar rcs libtest.o
make[1]: Leaving directory `/armsys2410/u-boot-2013.04/test'
make -C board/s3c24x0/smdk2410/
make: *** board/s3c24x0/smdk2410/: No such file or directory.  Stop.
make: *** [board/s3c24x0/smdk2410/libsmdk2410.o] Error 2
如何修改board/s3c24x0/smdk2410/路径为board/samsung/smdk2410/
wbz073 发表于 2013-7-10 15:36:16 | 显示全部楼层
你是怎么配置uboot的,看着是没配置上啊。
 楼主| 11qiaoqi 发表于 2013-7-10 16:36:35 | 显示全部楼层
在makefile   @./mkconfig $(@:_config=) 后面添加 添加    arm arm920t smdk2410 NULL s3c24x0,先前是路径不对 修改过了 ,编译又现上面问题  make[1]: Leaving directory `/armsys2410/u-boot-2013.04/test'
make[1]: Entering directory `/armsys2410/u-boot-2013.04/test'
rm -f libtest.o; arm-linux-ar rcs libtest.o
make[1]: Leaving directory `/armsys2410/u-boot-2013.04/test'
make -C board/s3c24x0/smdk2410/
make: *** board/s3c24x0/smdk2410/: No such file or directory.  Stop.
make: *** [board/s3c24x0/smdk2410/libsmdk2410.o] Error 2
如何修改board/s3c24x0/smdk2410/路径为board/samsung/smdk2410/
 楼主| 11qiaoqi 发表于 2013-7-10 16:48:45 | 显示全部楼层
出现下面的问题是不是 交叉编译器的问题?如果是 是什么样的问题?谢谢大家帮忙了!!:handshake


arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_udivsi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_udivsi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_divsi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_divsi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_umodsi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_umodsi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_modsi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_modsi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_dvmd_lnx.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_dvmd_lnx.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_lshrdi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_lshrdi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_ashldi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_ashldi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_ashrdi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_ashrdi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_divdi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_divdi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_udivdi3.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_udivdi3.o)
arm-linux-ld.bfd: error: /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_clzsi2.o) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld.bfd: failed to merge target specific data of file /opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_clzsi2.o)
/opt/embedded/tools/lib/gcc/arm-linux/4.6.1/libgcc.a(_dvmd_lnx.o): In function `__div0':
/opt/embedded/build-tools/build-boot-gcc/arm-linux/libgcc/../../../gcc-4.6.1/libgcc/../gcc/config/arm/lib1funcs.asm:1266: undefined reference to `raise'
arm-linux-ld.bfd: error: required section '.rel.plt' not found in the linker script
arm-linux-ld.bfd: final link failed: Invalid operation
make: *** [u-boot] Error 1
wbz073 发表于 2013-7-18 09:00:38 | 显示全部楼层
11qiaoqi 发表于 2013-7-10 16:48
出现下面的问题是不是 交叉编译器的问题?如果是 是什么样的问题?谢谢大家帮忙了!!

你交叉编译工具用的是哪个,我们提供的吗,哪个版本
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-3-28 20:09 , Processed in 1.078125 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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