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

rtabmap_fix_noetic #544

Open
gongbingyu opened this issue Jun 14, 2024 · 0 comments
Open

rtabmap_fix_noetic #544

gongbingyu opened this issue Jun 14, 2024 · 0 comments
Labels
question Further information is requested

Comments

@gongbingyu
Copy link

(.text+0x440): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai8ImgFrameE' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text+0x4c4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTIN3dai11RawImgFrameE' which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text+0x4d4): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTIN3dai9RawBufferE' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text+0x4d8): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai9ADatatypeE' which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text+0x59c): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): in function std::_Sp_counted_ptr_inplace<dai::RawImgFrame, std::allocatordai::RawImgFrame, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)':
(.text._ZNSt23_Sp_counted_ptr_inplaceIN3dai11RawImgFrameESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN3dai11RawImgFrameESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text._ZNSt23_Sp_counted_ptr_inplaceIN3dai11RawImgFrameESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN3dai11RawImgFrameESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai9RawBufferE' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): in function dai::RawImgFrame::~RawImgFrame()': (.text._ZN3dai11RawImgFrameD2Ev[_ZN3dai11RawImgFrameD5Ev]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai9RawBufferE' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): in function dai::RawImgFrame::~RawImgFrame()': (.text._ZN3dai11RawImgFrameD0Ev[_ZN3dai11RawImgFrameD5Ev]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai9ADatatypeE' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): in function dai::ImgFrame::~ImgFrame()': (.text._ZN3dai8ImgFrameD2Ev[_ZN3dai8ImgFrameD5Ev]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTVN3dai9ADatatypeE' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/libdepthai-core.a(ImgFrame.cpp.o): in function dai::ImgFrame::~ImgFrame()': (.text._ZN3dai8ImgFrameD0Ev[_ZN3dai8ImgFrameD5Ev]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): in function std::_Sp_counted_ptr_inplace<spdlog::details::thread_pool, std::allocator<spdlog::details::thread_pool>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog7details11thread_poolESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog7details11thread_poolESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog7details11thread_poolESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog7details11thread_poolESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): in function std::_Sp_counted_ptr_inplace<spdlog::sinks::ansicolor_stdout_sinkspdlog::details::console_nullmutex, std::allocator<spdlog::sinks::ansicolor_stdout_sinkspdlog::details::console_nullmutex >, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)':
(.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stdout_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stdout_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stdout_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stdout_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): in function std::_Sp_counted_ptr_inplace<spdlog::sinks::ansicolor_stderr_sink<spdlog::details::console_mutex>, std::allocator<spdlog::sinks::ansicolor_stderr_sink<spdlog::details::console_mutex> >, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): in function std::_Sp_counted_ptr_inplace<spdlog::sinks::ansicolor_stderr_sinkspdlog::details::console_nullmutex, std::allocator<spdlog::sinks::ansicolor_stderr_sinkspdlog::details::console_nullmutex >, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)':
(.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation
/usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
/opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): in function std::_Sp_counted_ptr_inplace<spdlog::async_logger, std::allocator<spdlog::async_logger>, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog12async_loggerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog12async_loggerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x4): dangerous relocation: unsupported relocation /usr/bin/ld: /opt/ros/noetic/lib/aarch64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(color_sinks.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol _ZTSSt19_Sp_make_shared_tag' which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog12async_loggerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog12async_loggerESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info]+0x24): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make[2]: *** [depthai-ros/depthai_bridge/CMakeFiles/depthai_bridge.dir/build.make:284: /home/jetson/Desktop/ros_ws/ros1_ws/src/ros1_utv_gpr_ws/devel/lib/libdepthai_bridge.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:2813: depthai-ros/depthai_bridge/CMakeFiles/depthai_bridge.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [depthai-ros/depthai_filters/CMakeFiles/depthai_filters.dir/build.make:89: depthai-ros/depthai_filters/CMakeFiles/depthai_filters.dir/src/wls_filter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3679: depthai-ros/depthai_filters/CMakeFiles/depthai_filters.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j8 -l8" failed

@gongbingyu gongbingyu added the question Further information is requested label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant