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

undefined reference to `nrf_queue_generic_pop'

Hi,

I  am using SEGGER/SEGGER Embedded Studio for ARM 4.12, I used Two working Examples ble_app_gatts_c_pca10040_s132  and flash_fstorage. I am getting these errors  "undefined reference to `nrf_queue_generic_pop'" etc etc > I added the included  files.But the linker says undefined reference to `nrf_queue_generic_pop' etc. I don't know what is the problem.


Output/ble_app_gatts_c_pca10040_s132 Release/Obj/nrf_cli.o: In function `cli_log_entry_process':
undefined reference to `nrf_queue_generic_pop'
undefined reference to `nrf_queue_generic_pop'
Output/ble_app_gatts_c_pca10040_s132 Release/Obj/nrf_cli.o: In function `nrf_log_backend_cli_flush':
undefined reference to `nrf_queue_generic_pop'
Output/ble_app_gatts_c_pca10040_s132 Release/Obj/nrf_cli.o: In function `nrf_log_backend_cli_put':
undefined reference to `nrf_queue_push'
Output/ble_app_gatts_c_pca10040_s132 Release/Obj/nrf_cli.o: In function `nrf_cli_cmd_cli_stats_reset':
undefined reference to `nrf_queue_max_utilization_reset'
Output/ble_app_gatts_c_pca10040_s132 Release/Obj/nrf_cli.o: In function `nrf_cli_cmd_cli_stats_show':
undefined reference to `nrf_queue_max_utilization_get'
Output/ble_app_gatts_c_pca10040_s132 Release/Obj/cli.o:D:\Myproject\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_gatts_c/cli.c:101: undefined reference to `nrf_cli_uart_transport_api'
Build failed

Related