This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

linking error while adding dfu to beacon application

hi there, I am using this tutorial to add dfu to nrf51422_xxac_s130 beacon application. however Im getting these linking errors:

._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol __asm___9_ble_dfu_c_c50c590a____REV16 multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol __asm___9_ble_dfu_c_c50c590a____REVSH multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol ble_dfu_bytes_rcvd_report multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol ble_dfu_init multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol ble_dfu_on_ble_evt multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol ble_dfu_pkts_rcpt_notify multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol ble_dfu_response_send multiply defined (by ble_dfu_1.o and ble_dfu.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol __asm___17_dfu_app_handler_c_1fffb1b5__nrf_delay_us multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol __asm___17_dfu_app_handler_c_1fffb1b5____REV16 multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol __asm___17_dfu_app_handler_c_1fffb1b5____REVSH multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol dfu_app_dm_appl_instance_set multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol dfu_app_on_dfu_evt multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o). ._build\nrf51422_xxac_s130.axf: Error: L6200E: Symbol dfu_app_reset_prepare_set multiply defined (by dfu_app_handler_1.o and dfu_app_handler.o).

I could not find ble_dfu_1.c file to check if the symbol has been defined there. Actually I think there is no such a file at all. Can anybody help me to figure out the problem?

Related