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

undefined reference to `nrf_sdh_enable_request' but the function exists and is referenceable in nrf_sdh.h

I combined to examples from the examples library combining the sdk_config, source code, and adding references to the included files.  

The application will not compile and reports:

3> Compiling ‘main.c’
1> Linking quick_stop.elf
1> Output/quick_stop Debug/Obj/main.o: In function `ble_stack_init':
1> C:\nRF\examples\peripheral\quick_stop/main.c:203: undefined reference to `nrf_sdh_enable_request'
Build failed

The reference to nrf_sdh.h which contains the define statemenbt for nrf_sdh_enable_request is found but it reports undefined and I do not understand why it does this.

Parents Reply Children
Related