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

NRF Mesh SDK, problem with linking files with RTT log

Hi

I'm struggling with the problem of linking with RTT logs in NRF Mesh SDK.
/usr/lib/gcc//arm-none-eabi/bin/ld: /doc/nRF5_SDK_15.3.0_59ac345/components/softdevice/common/nrf_sdh_ble.c:231: undefined reference to `nrf_log_frontend_std_2'
/usr/lib/gcc//arm-none-eabi/bin/ld: /doc/nRF5_SDK_15.3.0_59ac345/components/softdevice/common/nrf_sdh_ble.c:233: undefined reference to `nrf_log_frontend_std_1'
/usr/lib/gcc//arm-none-eabi/bin/ld: /doc/nRF5_SDK_15.3.0_59ac345/components/softdevice/common/nrf_sdh_ble.c:254: undefined reference to `nrf_strerror_get'
/usr/lib/gcc//arm-none-eabi/bin/ld: /doc/nRF5_SDK_15.3.0_59ac345/components/softdevice/common/nrf_sdh_ble.c:254: undefined reference to `nrf_log_frontend_std_1'
What I have done 
  • Download SDK MESH, and nRF_SDK_15.3
  • uznip, create folder build in root of mesh sdk
  • cmake -DTOOLCHAIN=gccarmemb -DSDK_ROOT=~/nRF5_SDK_15.3.0_59ac345/  ..
  • Edit example to enable RTT loging

Could you help me what I should do to solve this problem? I tried to add RTT log sources files to examples cmake but it didn't work.

I am using Ubuntu 16.04, gcc 6.3.1 and the newest version of cmake.

BR 

Xeshi

Parents Reply Children
Related