Static library link [closed]
I am running a Ubuntu 12.04 64bits fuerte installation. I have an static library from Force Dimension which i'm trying to link using the target_link_libraries(). Rosmake gives the following error over the library that I want to link:
"/usr/bin/ld: /opt/ros/fuerte/lib/libdrd.a(dhdc.o) relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC"
Is there a way to link a static library which is not build using -fPIC?