Skip to content

Errror in compiling Gstreamer plugins connextdds 6.1.0 #53

Description

@aswinpajayan

Is it possible to compile the plugins with RTI Connext DDS 6.1.0
I tried to change the CMakeLists.txt file to point to RTIConnextDDS 6.1.0
But i am getting the following error:

/usr/bin/ld: /usr/lib/rti_connext_dds-6.1.0/lib/x64Linux4gcc7.3.0/libnddscorez.a(PsRemoteTopicQuery.c.o): warning: relocation against `PRESPsServiceRemoteTopicQueryIterator_next' in read-only section `.text'
/usr/bin/ld: /usr/lib/rti_connext_dds-6.1.0/lib/x64Linux4gcc7.3.0/libnddscorez.a(PsRemoteTopicQuery.c.o): warning: relocation against `PRESPsServiceRemoteTopicQueryIterator_next' in read-only section `.text'
/usr/bin/ld: /usr/lib/rti_connext_dds-6.1.0/lib/x64Linux4gcc7.3.0/libnddscz.a(Log.c.o): relocation R_X86_64_PC32 against symbol `DDSLog_g_submoduleMask' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/gstconnextsink.dir/build.make:111: bin/libgstconnextsink.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/gstconnextsink.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /usr/lib/rti_connext_dds-6.1.0/lib/x64Linux4gcc7.3.0/libnddscz.a(Log.c.o): relocation R_X86_64_PC32 against symbol `DDSLog_g_submoduleMask' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/gstconnextsrc.dir/build.make:111: bin/libgstconnextsrc.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:99: CMakeFiles/gstconnextsrc.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Did anyone successfuly compile the plugins with 6.1.0?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions