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

Undefined Reference to SDH_STACK_OBSERVER

Hello all,

I am currently in the process of adding BLE support to our project. I have been as careful as possible when copying over source files and SDK_config settings from a BLE example in the SDK.

However, I am still getting an undefined reference error:

Output/hardware_tests Debug/Obj/nrf_sdh.o:C:\Users\Matt\Desktop\atlas3\Embedded\SES\SDK_Drivers\components\softdevice\common/nrf_sdh.c:89: undefined reference to `__start_sdh_stack_observers'
Output/hardware_tests Debug/Obj/nrf_sdh.o:(.rodata.sdh_stack_observers+0x4): undefined reference to `__stop_sdh_stack_observers'

 I'm not really sure where to poke around other than the included files and the SDK settings. I've heard some people mention the linker file as a potential cause of these issues, but I am not sure how to fix that without breaking the project. Any help or suggestions would be greatly appreciated!

Thanks,

-Matt

Parents Reply Children
No Data
Related