问题描述
- 编译u-boot时 最后一步 make 时出错了 求拯救
-
arm-linux-ld: failed to merge target specific data of file /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/libgcc.a(_udivdi3.o)
arm-linux-ld: error: Source object /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/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/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/libgcc.a(_udivsi3.o)
arm-linux-ld: error: Source object /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/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/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/libgcc.a(_dvmd_lnx.o)
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to__aeabi_unwind_cpp_pr0'
__aeabi_ldiv0':
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/libgcc.a(_dvmd_lnx.o): In function
/work/toolchain/build/src/gcc-4.5.1/libgcc/../gcc/config/arm/lib1funcs.asm:1265: undefined reference to `raise'
make: *** [u-boot] 错误 1
解决方案
问题解答见:http://blog.csdn.net/feihongwang/article/details/7474813
时间: 2024-10-21 13:29:56