/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}
阅读(5068) | 评论(0) | 转发(0) |