luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
251 stars 185 forks source link

rtabmap_fix_noetic #544

Open gongbingyu opened 3 months ago

gongbingyu commented 3 months ago

(.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 functionstd::_Sp_counted_ptr_inplace<dai::RawImgFrame, std::allocator, (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_ELN9gnu_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_tiEvE5tag' 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_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog7details11thread_poolESaIS2_ELN9gnu_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_tiEvE5tag' 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_sink<spdlog::details::console_nullmutex>, std::allocator<spdlog::sinks::ansicolor_stdout_sink<spdlog::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_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stdout_sinkINS0_7details17console_nullmutexEEESaIS5_ELN9gnu_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_tiEvE5tag' 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, std::allocator<spdlog::sinks::ansicolor_stderr_sink >, (gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)': (.text._ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9gnu_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_ELN9gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info[_ZNSt23_Sp_counted_ptr_inplaceIN6spdlog5sinks21ansicolor_stderr_sinkINS0_7details13console_mutexEEESaIS5_ELN9gnu_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 functionstd::_Sp_counted_ptr_inplace<spdlog::sinks::ansicolor_stderr_sink, std::allocator<spdlog::sinks::ansicolor_stderr_sink >, (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_ELN9gnu_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_tiEvE5tag' 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_ELN9gnu_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