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

Linking/missing symbol issue with gcc toolchain

Hi,

I'm trying to compile the ble_app_beacon firmware found in nrf51_sdk_v5_2_0_39364/nrf51822/Board/pca10001/s110/ble_app_beacon with the gcc toolchain on MacOSX, but I get a linkage error (see below). I've tried to add rpc/ble_rpc_sd_stub.c but that give even more undefined symbols. Do you have any suggestions on how to solve this issue ?

"/Users/kenr/dev/embedded/nrf/gcc-arm-none-eabi-4_8-2014q1/bin/arm-none-eabi-gcc" -x assembler-with-cpp -DDEBUG -g3 -O0 -I"../" -I"./" -I"../../../../Include" -I"../../../../Include/gcc" -I"../../../../Include/ext_sensors" -I"../../../../Include/s110" -I"../../../../Include/app_common" -I"../../../../Include/ble" -I"../../../../Include/ble/ble_services" -I"../../../../Include/sd_common" -c -o _build/gcc_startup_nrf51.o ../../../..//Source//templates/gcc/gcc_startup_nrf51.s "/Users/kenr/dev/embedded/nrf/gcc-arm-none-eabi-4_8-2014q1/bin/arm-none-eabi-gcc" -L"/Users/kenr/dev/embedded/nrf/gcc-arm-none-eabi-4_8-2014q1/arm-none-eabi/lib/armv6-m" -L"/Users/kenr/dev/embedded/nrf/gcc-arm-none-eabi-4_8-2014q1/lib/gcc/arm-none-eabi/4.7.3/armv6-m" -Xlinker -Map=_build/ble_app_proximity_gcc_xxaa.map -mcpu=cortex-m0 -mthumb -mabi=aapcs -L ../../../..//Source//templates/gcc/ -Tgcc_nrf51_blank_xxaa.ld _build/main.o _build/ble_advdata.o _build/ble_debug_assert_handler.o _build/ble_srv_common.o _build/app_gpiote.o _build/app_timer.o _build/softdevice_handler.o _build/system_nrf51.o _build/gcc_startup_nrf51.o -o _build/ble_app_proximity_gcc_xxaa.out _build/main.o: In function power_manage': /Users/kenr/dev/embedded/nrf/nrf51_sdk_v5_2_0_39364/nrf51822/Board/pca10001/s110/ble_app_beacon/main.c:210: undefined reference tosd_app_evt_wait' _build/softdevice_handler.o: In function intern_softdevice_events_execute': /Users/kenr/dev/embedded/nrf/nrf51_sdk_v5_2_0_39364/nrf51822/Board/pca10001/s110/ble_app_beacon/../../../..//Source/sd_common/softdevice_handler.c:97: undefined reference tosd_evt_get' collect2: error: ld returned 1 exit status

Best regards, Ken A. Redergård

Parents Reply Children
No Data
Related