|
|
|
|
Re: undefined reference to strcmp [message #815150 is a reply to message #814480] |
Wed, 07 March 2012 04:39  |
Eclipse User |
|
|
|
Yeah, thanks Axel for your reply!
you are absolutly right! Although, apparently the problem is not there! I have done the modifications and I still get the error.
I reckon that my problem is inside the makefile, which while it is linking it does not find these functions.
I am saying this because the output of the makefile:
...
..linking
arm-none-eabi-ld -g -v -nostartfiles -Map ./main.map -T./lib/stm32_flash.ld -o ./main.out obj/main.o obj/system_stm32f10x.o obj/stm32f10x_gpio.o obj/stm32f10x_rcc.o obj/stm32f10x_it.o obj/stm32f10x_exti.o obj/stm32f10x_pwr.o obj/stm32f10x_dbgmcu.o obj/stm32f10x_usart.o obj/stm32f10x_can.o obj/stm32f10x_iwdg.o obj/misc.o obj/startup_stm32f10x_md.o libgcc.a
GNU ld (GNU Binutils) 2.21
obj/main.o: In function `main':
C:\eclipse\workspace\STM32-BUS_CAN_LoopBack/main.c:85: undefined reference to `strcpy'
C:\eclipse\workspace\STM32-BUS_CAN_LoopBack/main.c:86: undefined reference to `strcmp'
make: *** [main.out] Error 1
Thanks again.
|
|
|
Powered by
FUDForum. Page generated in 0.25822 seconds