When I go to build any of the nRF SDK BLE examples, I get linker errors that app_error_handler was not found. I now copy-and-paste a boilerplate version of that into the code, but why do I need to do that? Is some base library not built correctly? Do I have some sdk_config.h setting wrong?
Similarly, in many of the examples, I get linker error about "nrf_nvic_state". I just have to add "nrf_nvic_state_t nrf_nvic_state = {0};" to make it compile, but the fact that the source does not build as-is seems quite peculiar. Any hints?