home Forums # Technical Support Linker error Ubuntu 64-bit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1513
    Unknown
    Member

    /fuzzylite-5.0/fuzzylite/release/bin/libfuzzylite-static.a(Centroid.cpp.o): relocation R_X86_64_32S against `_ZTVN2fl8CentroidE’ can not be used when making a shared object; recompile with -fPIC

    Hello, I get the above error when trying to link the compiled shared library libfuzzylite-static.a to my OMNeT++ simulation environment. I have a 64-bit Ubuntu 14.04 LTS installed. Previously I was using 32-bit ubuntu 13.04 without any errors.

    What does this error mean?
    How is it possible to compile the fuzzylite with -fPIC option?

    #1514

    Hi,

    thank you for your question.

    Could you please update the CMakeLists.txt to the updated repository?

    Check this file in the repository 5.x.

    Let me know if it fixes your issue.

    Cheers.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.