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

Mesh compilation error

Based on mesh sdk 3.1, open NRF_LOG_ENABLED in the light_switch_server example, ie NRF_LOG_ENABLED 1, the following error occurred during compilation:
Linking light_switch_server_nrf52840_xxAA_s140_6.1.0.elf
build/light_switch_server_nrf52840_xxAA_s140_6.1.0_Debug/obj/nrf_sdh_ble.o: in function `nrf_sdh_ble_default_cfg_set':
undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:133: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:149: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:149: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:162: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:162: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:175: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:175: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:186: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:186: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:197: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:197: undefined reference to `nrf_log_frontend_std_1'
build/light_switch_server_nrf52840_xxAA_s140_6.1.0_Debug/obj/nrf_sdh_ble.o: in function `nrf_sdh_ble_enable':
undefined reference to `nrf_log_frontend_std_0'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:231: undefined reference to `nrf_log_frontend_std_2'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:233: undefined reference to `nrf_log_frontend_std_1'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:254: undefined reference to `nrf_strerror_get'
E:\Nordic\nRF5_SDK_15.2.0_9412b96\components\softdevice\common/nrf_sdh_ble.c:254: undefined reference to `nrf_log_frontend_std_1'
Build failed

why?How to solve it?

Parents Reply Children
No Data
Related