ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

pthread error in ROS2 buildfarm.

asked 2022-01-08 06:47:34 -0500

ms.kataoka@gmail.com gravatar image

Hi, I am developing some packages in ROS2 and I found some problems. I think my package directory depends on pthread, but this log shows that my package failed to build because of undefined reference to pthread. I am facing this problem in only ROS2, so I think this is the ROS2 problem. Does anyone have some idea to solve this?

https://build.ros2.org/view/Gbin_uF64...

edit retag flag offensive close merge delete

Comments

What OS are you using?

osilva gravatar image osilva  ( 2022-01-08 09:07:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-09 16:58:12 -0500

ijnek gravatar image

updated 2022-01-09 16:58:32 -0500

Your build doesn't seem to be failing from missing pthread, the following seems to be what's causing the failure.

23:10:34 CMake Error at CMakeLists.txt:76 (find_package):
23:10:34   By not providing "Findament_lint_auto.cmake" in CMAKE_MODULE_PATH this
23:10:34   project has asked CMake to find a package configuration file provided by
23:10:34   "ament_lint_auto", but CMake did not find one.
23:10:34 
23:10:34   Could not find a package configuration file provided by "ament_lint_auto"
23:10:34   with any of the following names:
23:10:34 
23:10:34     ament_lint_autoConfig.cmake
23:10:34     ament_lint_auto-config.cmake
23:10:34 
23:10:34   Add the installation prefix of "ament_lint_auto" to CMAKE_PREFIX_PATH or
23:10:34   set "ament_lint_auto_DIR" to a directory containing one of the above files.
23:10:34   If "ament_lint_auto" provides a separate development package or SDK, be
23:10:34   sure it has been installed.

There is an open issue in OUXT-Polaris/color_names, that explains the issue.

The issue seems to have been fixed already in this commit, but a release hasn't been made yet to the build farm.

edit flag offensive delete link more

Comments

@ms.kataoka@gmail.com If this fixed the issue, would you be able to mark as correct and close-off the question? Thanks!

ijnek gravatar image ijnek  ( 2022-02-01 03:43:30 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-01-08 06:47:34 -0500

Seen: 216 times

Last updated: Jan 09 '22