I want to add an external library in my project but getting the error as" error adding symbols, file format not recognized" I have followed the below steps:
- Add lib folder and .a library to the project workspace

2.Make sure you only specify library_name. in the project settings
For example, if you have a library called libmyxml.a, you will specify myxml in the Linker Libraries settings.
Note that you will also need to specify the location that you have placed the library archive in the Library search path (-L) setting
3. Add the lib to Project -> Properties -> C/C++ Build -> Settings -> Tool Settings
-> MCU Linker -> Libraries -> Libraries (-l)

kindly help.
Thanks