Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in linking step when using EtherCatMaster and KortexAPI #193

Open
SebastienCol opened this issue Jan 18, 2024 · 0 comments
Open

Comments

@SebastienCol
Copy link

SebastienCol commented Jan 18, 2024

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

  /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

Expected behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant