Problem in linking step when using EtherCatMaster and KortexAPI. Suggests recompiling with -fPIE but this does not work. Error output below. This started happening when using SOEM for other uses. When linked with Kortex library, this problem started occurring.
Version
Originally KortexAPI version 2.3.0 and now still not working with KortexAPI version 2.6.0.
Code example
/usr/bin/ld: /opt/Kortex/lib/release/libKortexApiCpp.a(KeEthercatMaster.cpp.o): relocation R_X86_64_32S against symbol `_ZTV23KeEthercatMasterFactory' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
Description
Dear Kinova team,
Problem in linking step when using EtherCatMaster and KortexAPI. Suggests recompiling with -fPIE but this does not work. Error output below. This started happening when using SOEM for other uses. When linked with Kortex library, this problem started occurring.
Version
Originally KortexAPI version 2.3.0 and now still not working with KortexAPI version 2.6.0.
Code example
Expected behavior