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

undefined reference to `__start_sdh_stack_observers'

I receive error: undefined reference to `__start_sdh_stack_observers' while building, which occurs in nrf_sdh.c

both, source and header file were included in makefile as below:

$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c \

$(SDK_ROOT)/components/softdevice/common \

same corresponds to #include diective in main.c

#include "nrf_sdh.h"

sdk_config file seems good either.

The issue I currently deal with is iclude error in nrf_sdh.c

I've tried to iclude all files from sdk_common.h, but similar errror occured.

EDIT 1:

including "sdk_commmon.h" in main.c does not corrupt any errors.

Parents Reply Children
Related