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

Error: L6218E: Undefined symbol when follow the tutorial

Hi All

I am doing a project which is base on SDK15.2  examples\proprietary_rf\gzll\gzp_dynamic_pairing\host\pca10040\blank\arm5_no_packs

I would like to add a timer to this project

so i search some answer here, and i found the tutorial

I do what the tutorial said step by step

but after I add the function lfclk_request();

and call in the main()

the compile result show the error below:

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_clock_init (referred from main.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_clock_lfclk_request (referred from main.o).

but actually i have already include the nrf_drv_clock.h and app_timer.h which the tutorial said

did i lost something important before i compile the project?

can anyone tell me what should i do?