This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in main.o

Hello, I am using nrf51 and firmware is ble_app_gls. I have modified my code to work for dfu as well. I am getting error as follows

.\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol ble_dfu_init (referred from main.o).
.\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol ble_dfu_on_ble_evt (referred from main.o).
.\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol ble_gls_init (referred from main.o).

I am attaching my main file with this.

ThanksNew Text Document.txt

Error in cmd errormain1.PNG

Latest Error errormain2.PNG

Latest Error errormain3.PNG

Latest Error errormain4.PNG

Makefile Makefile

errormain5.PNG

Parents
  • It seems error are increasing.Uploading my latest error above. I have uploaded my project here www.dropbox.com/.../ble_app_gls.rar I have also uploaded my make file above. It would be great if you could compile it at your end and give me. I can compile easily with keil software but due to code size limit I cant burn the code. So I am using command line to compile this and it gives me errors. Thanks,

Reply
  • It seems error are increasing.Uploading my latest error above. I have uploaded my project here www.dropbox.com/.../ble_app_gls.rar I have also uploaded my make file above. It would be great if you could compile it at your end and give me. I can compile easily with keil software but due to code size limit I cant burn the code. So I am using command line to compile this and it gives me errors. Thanks,

Children
No Data
Related