XMC4500 DAVE3, collect2.exe: error: ld returned 1 exit status

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I tried to build a project but i keep getting the same error over and over again:

'Building target: PI_CONTROLLER.elf'
'Invoking: ARM-GCC C Linker'
"C:\DAVE-3.1.10\ARM-GCC/bin/arm-none-eabi-gcc" -T"../PI_CONTROLLER.ld" -nostartfiles -Xlinker --gc-sections -L"C:\DAVE-3.1.10\eclipse\/../CMSIS/Infineon/Lib" -L"C:\DAVE-3.1.10\eclipse\/../Examples/Lib" -L"C:\DAVE-3.1.10\eclipse\/../emWin/Start/GUI" -Wl,-Map,"PI_CONTROLLER.map" -mcpu=cortex-m4 -mthumb -g3 -gdwarf-2 -o "PI_CONTROLLER.elf" "@makefile.rsp"
c:/dave-3.1.10/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/lib/armv7e-m\libg.a(lib_a-fini.o): In function `__libc_fini_array':
fini.c:(.text.__libc_fini_array+0x42): undefined reference to `_fini'
collect2.exe: error: ld returned 1 exit status
make: *** [PI_CONTROLLER.elf] Error 1



Any hints on this?


Thanks
0 Likes
0 Replies