Error:
/usr/bin/ld: ../../../3rdpartylib/bpmpd_linux64.a(supnode.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
Line to change:
|
target_link_libraries(bpmpd_caller ${BPMPD_LIBRARY}) |
Fix is to make static:
target_link_libraries(bpmpd_caller ${BPMPD_LIBRARY} -static)
Error:
/usr/bin/ld: ../../../3rdpartylib/bpmpd_linux64.a(supnode.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
Line to change:
trajopt/src/sco/CMakeLists.txt
Line 30 in 9c634c0
Fix is to make static:
target_link_libraries(bpmpd_caller ${BPMPD_LIBRARY} -static)