I try to reference a static *.a
library for my c++ project in CDT. I included it in
C/C++ Build -> Cross C++ Linker -> Libraries
But I get the error:
relocation R_X86_64_32S against symbol ... can not be used when making a shared object.
Now from what I have read so far I think this means the compiler thinks I am referencing a shared library, when it is a static library instead - Is that the case and if so what can do now? Is there any way to just use the *.a
libraries or do I have to recompile them as .so
- objects?