AnsweredAssumed Answered

Link problem with KDS300

Question asked by Bernard Esteban on May 12, 2015
Latest reply on May 12, 2015 by Marek Neuzil

I just start to work with KDS300, I tried with a project that works fine (without PE or KSDK) with K64F

 

I got this error, I don't know how to solve that.

 

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O1 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -T ../../config_files/MK64FN1M0xxx12_flash.ld -Xlinker --gc-sections -Wl,-Map,"frdmk64f_boot.map" -Xlinker --defsym=__stack_size__=0x2000  -Xlinker --defsym=__heap_size__=0x2000 -o "frdmk64f_boot.elf" -Xlinker --start-group  ./startup/MK64F12/gcc/startup_MK64F12.o  ./startup/MK64F12/system_MK64F12.o  ./startup/startup.o  ./fnet_stack/stack/fnet_arp.o ./fnet_stack/stack/fnet_checksum.o  ./fnet_application/fapp_fs_image.o ./fnet_application/fapp_fs_image_http09.o ./fnet_application/fapp_http.o ./fnet_application/fapp_llmnr.o ./fnet_application/fapp_mem.o ./fnet_application/fapp_params.o ./fnet_application/fapp_ping.o ./fnet_application/fapp_setget.o ./fnet_application/fapp_telnet.o ./fnet_application/fapp_tftp.o  ./main.o-Xlinker --end-group

c:/freescale/kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv7e-m/fpu\libg.a(lib_a-exit.o): In function `exit':

exit.c:(.text.exit+0x16): undefined reference to `_exit'

Outcomes