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

Errror in compiling Gstreamer plugins connextdds 6.1.0 #53

Open
aswinpajayan opened this issue Nov 9, 2023 · 1 comment
Open

Errror in compiling Gstreamer plugins connextdds 6.1.0 #53

aswinpajayan opened this issue Nov 9, 2023 · 1 comment

Comments

@aswinpajayan
Copy link

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?

@ghost
Copy link

ghost commented Nov 15, 2023

Could you share the changes you made to the CMakeLists file?

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