/usr/bin/ld: warning: //home/robot/anaconda3/lib/libgomp.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001 /usr/bin/ld: warning: //home/robot/anaconda3/lib/libgomp.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 /usr/bin/ld: warning: //home/robot/anaconda3/lib/libquadmath.so.0: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001 /usr/bin/ld: warning: //home/robot/anaconda3/lib/libquadmath.so.0: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 //usr/lib/libgdal.so.20:对‘TIFFReadRGBATileExt@LIBTIFF_4.0’未定义的引用 //usr/lib/libgdal.so.20:对‘TIFFReadRGBAStripExt@LIBTIFF_4.0’未定义的引用 collect2: error: ld returned 1 exit status darknet_ros/darknet_ros/CMakeFiles/darknet_ros.dir/build.make:185: recipe for target '/home/robot/catkin_ws/devel/lib/darknet_ros/darknet_ros' failed make[2]: *** [/home/robot/catkin_ws/devel/lib/darknet_ros/darknet_ros] Error 1 CMakeFiles/Makefile2:2975: recipe for target 'darknet_ros/darknet_ros/CMakeFiles/darknet_ros.dir/all' failed make[1]: *** [darknet_ros/darknet_ros/CMakeFiles/darknet_ros.dir/all] Error 2 Makefile:140: recipe for target 'all' failed
时间: 2023-07-31 17:07:47 浏览: 605
这个错误信息表明在编译 darknet_ros
时出现了问题。具体来说,编译器在链接过程中找不到一些依赖库,并且出现了一些不受支持的 GNU_PROPERTY_TYPE 类型的警告。
要解决这个问题,你可以尝试以下几个步骤:
确保你的系统安装了所需的依赖库。根据错误信息,缺少的依赖库可能是
libgomp.so.1
、libquadmath.so.0
和libgdal.so.20
。你可以使用包管理器(如apt或yum)来安装这些库。检查依赖库的路径是否正确。确保编译器能够找到这些库的位置。你可以检查环境变量
LD_LIBRARY_PATH
是否包含了这些库所在的路径。检查编译选项是否正确。确保在编译
darknet_ros
时已经正确地指定了要链接的库。如果以上步骤都没有解决问题,你可以尝试更新或重新安装相关的软件包。也可以查看其他用户是否遇到了类似的问题,并参考他们的解决方案。
希望以上建议对你有所帮助!如果你还有其他问题,请随时提问。
相关推荐

















