u-boot1.1.6-undefined reference to "raise"
来源:互联网 发布:长沙网络推广wyztg 编辑:程序博客网 时间:2024/06/09 18:57
友善mini2440移植的uboot1.1.6,arm-linux-gcc版本4.3.2
编译报错:
...
arm-linux-ld: failed to merge target specific data of file drivers/nand/libnand.a(nand_util.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] 错误 1
解决办法:
http://blog.csdn.net/wwd574000815/article/details/6208379
将cpu /arm920t/config.mk 改为
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 /-msoft-float
PLATFORM_CPPFLAGS +=
# =========================================================================
#
# Supply options according to compiler version
#
# =========================================================================
PLATFORM_CPPFLAGS +=$(call cc-option,)
PLATFORM_RELFLAGS +=$(call cc-option,$(call cc-option,))
在uboot的根目录Makefile中把PLATFORM_LIBS 修该为如下值
PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -lc -L/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/usr/lib
然后重新 make distclean make 应就能通过了
0 0
- u-boot1.1.6-undefined reference to "raise"
- JZ2440 编译U-boot1.1.6 undefined reference to ‘raise’
- undefined reference to ‘raise’
- undefined reference to ‘raise’
- undefined reference to `raise'
- uboot1.1.6——undefined reference to ‘raise’
- lib1funcs.asm undefined reference to raise'
- 解决编译u-boot-1.1.6 出现undefined reference to `raise'问题后,串口不输出问题
- undefined reference to ‘raise’ //make distclean和make clean的作用
- u-boot1.1.6移植
- uboot_1.1.6学习1_undefined reference to "raise"
- 编译U-boot 出现 undefined reference to `dm9000_initialize' 的问题
- undefined reference to 'floor'/undefined reference to `&
- undefined reference to 'floor'/undefined reference to
- Uboot编译出下如下错误的一个原因:In function `__aeabi_ldiv0': (.text+0x8): undefined reference to `raise'
- undefined undefined reference to `nfq_open'
- u-boot1.1.6移植 DM9000
- 2440, u-boot1.1.6移植
- UIScrollerView 属性的总结
- C-全局变量,局部变量,静态全局变量,静态局部变量
- 动态数据及设施
- CentOS 输入法问题
- [C/C++]我的图书馆
- u-boot1.1.6-undefined reference to "raise"
- Leetcode:Sort List 对单链表归并排序
- Maven核心概念
- 每日算法之三十九:Pow(x, n)
- Oracle表的创建与管理
- 笑话
- hdu 3879 最大获利问题
- UVA 11090 - Going in Cycle!!
- java之string学习