Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3323027
  • 博文数量: 366
  • 博客积分: 9916
  • 博客等级: 中将
  • 技术积分: 7194
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-29 23:27
个人简介

简单!

文章分类

全部博文(366)

文章存档

2013年(51)

2012年(269)

2011年(46)

分类: LINUX

2011-05-29 23:29:22

/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x74): In function `Test_Adc':
: undefined reference to `__floatsisf'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x78): In function `Test_Adc':
: undefined reference to `__extendsfdf2'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x84): In function `Test_Adc':
: undefined reference to `__muldf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x90): In function `Test_Adc':
: undefined reference to `__muldf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x94): In function `Test_Adc':
: undefined reference to `__truncdfsf2'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xa4): In function `Test_Adc':
: undefined reference to `__floatsisf'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xa8): In function `Test_Adc':
: undefined reference to `__extendsfdf2'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xb4): In function `Test_Adc':
: undefined reference to `__muldf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xc0): In function `Test_Adc':
: undefined reference to `__muldf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xc4): In function `Test_Adc':
: undefined reference to `__truncdfsf2'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xd0): In function `Test_Adc':
: undefined reference to `__fixsfsi'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xd8): In function `Test_Adc':
: undefined reference to `__floatsisf'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xe4): In function `Test_Adc':
: undefined reference to `__subsf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xf0): In function `Test_Adc':
: undefined reference to `__mulsf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0xf4): In function `Test_Adc':
: undefined reference to `__fixsfsi'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x100): In function `Test_Adc':
: undefined reference to `__fixsfsi'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x108): In function `Test_Adc':
: undefined reference to `__floatsisf'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x114): In function `Test_Adc':
: undefined reference to `__subsf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x120): In function `Test_Adc':
: undefined reference to `__mulsf3'
/home/txgcwm/weidongshan/arm_sources/code/obj/adc_ts.o(.text+0x124): In function `Test_Adc':
: undefined reference to `__fixsfsi'
make: *** [rom.bin] 错误 1


出现了以上错误。
解决措施,是在makefile中作如下的修改:
LDFLASG     := -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
@$(LD) -Tbin.lds -o $(OBJ_DIR)/rom_elf  $(addprefix $(OBJ_DIR)/,$(notdir $^)) ${LDFLASG}
阅读(3105) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:arm编译出错

给主人留下些什么吧!~~