Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Linking Error: Eclipse with ARMGCC Toolchain

The current configuration looks as follows:

IDE: Eclipse 

Toolchain: ARMGCC

SDK: SDK5_NRF_14

DK: NRF52DK-PCA10040

I am trying to port the 'bootloader_secure_ble' to the bootloader section of a project. The bootloader (currently non-dfu) uses a custom makefile. This makefile is good enough to get a working bootloader run a heavy application. While resolving dependencies for the 'bootloader_secure_ble', I have come across the following Linker error.

The compiler does not throw any errors, and the said .o files are in the needed folder.

Has anyone come across a similar problem? I am not even sure where to look for it anymore!  

C:\Users\atharva\AppData\Local\Temp\ccjixT80.ltrans0.ltrans.o: In function `app_error_fault_handler':
C:/nrf/sdk/nrf5_sdk_14/components/libraries/util/app_error_weak.c:60: undefined reference to `app_error_save_and_stop'
C:\Users\atharva\AppData\Local\Temp\ccjixT80.ltrans2.ltrans.o: In function `ble_evt_handler':
C:/nrf/sdk/nrf5_sdk_14/components/libraries/bootloader/ble_dfu/nrf_ble_dfu.c:689: undefined reference to `nrf_dfu_req_handler_reset_if_dfu_complete'
C:\Users\atharva\AppData\Local\Temp\ccjixT80.ltrans2.ltrans.o: In function `on_ctrl_pt_write':
C:/nrf/sdk/nrf5_sdk_14/components/libraries/bootloader/ble_dfu/nrf_ble_dfu.c:463: undefined reference to `nrf_dfu_req_handler_on_req'

Related