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

[Noetic] ros_google_cloud_language fails to build: Missing pthreads #484

Open
Tracked by #486
sloretz opened this issue Jul 19, 2023 · 0 comments
Open
Tracked by #486

[Noetic] ros_google_cloud_language fails to build: Missing pthreads #484

sloretz opened this issue Jul 19, 2023 · 0 comments

Comments

@sloretz
Copy link

sloretz commented Jul 19, 2023

It looks like ros_google_cloud_language is failing to build on all platforms. It seems to be having trouble linking against pthreads

23:03:19 Run Build Command(s):/usr/bin/make cmTC_d34bf/fast && make[2]: Entering directory '/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
23:03:19 /usr/bin/make -f CMakeFiles/cmTC_d34bf.dir/build.make CMakeFiles/cmTC_d34bf.dir/build
23:03:19 make[3]: Entering directory '/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
23:03:19 Building C object CMakeFiles/cmTC_d34bf.dir/CheckFunctionExists.c.o
23:03:19 /usr/lib/ccache/cc   -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_d34bf.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
23:03:19 Linking C executable cmTC_d34bf
23:03:19 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d34bf.dir/link.txt --verbose=1
23:03:19 /usr/lib/ccache/cc -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_d34bf.dir/CheckFunctionExists.c.o  -o cmTC_d34bf  -lpthreads 
23:03:19 /usr/bin/ld: cannot find -lpthreads
23:03:19 collect2: error: ld returned 1 exit status
23:03:19 make[3]: *** [CMakeFiles/cmTC_d34bf.dir/build.make:87: cmTC_d34bf] Error 1
23:03:19 make[3]: Leaving directory '/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
23:03:19 make[2]: *** [Makefile:121: cmTC_d34bf/fast] Error 2
23:03:19 make[2]: Leaving directory '/tmp/binarydeb/ros-noetic-ros-google-cloud-language-2.1.26/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
sloretz added a commit to ros/rosdistro that referenced this issue Jul 19, 2023
sloretz added a commit to ros/rosdistro that referenced this issue Jul 19, 2023
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