![]() usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_6fda5.dir/CheckFunctionExists.c.o -o cmTC_6fda5 -lpthreads usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fda5.dir/link.txt -verbose=1 usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_6fda5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c ![]() Run Build Command(s):/usr/bin/make cmTC_6fda5/fast & /usr/bin/make -f CMakeFiles/cmTC_6fda5.dir/build.make CMakeFiles/cmTC_6fda5.dir/buildīuilding C object CMakeFiles/cmTC_6fda5.dir/CheckFunctionExists.c.o Pthread_create(&thread, NULL, test_func, NULL) ĭetermining if the function pthread_create exists in the pthreads failed with the following output: ![]() Make: Leaving directory '/home//git_projects/darktable/build/CMakeFiles/CMakeTmp' usr/bin/ld: src.c:(.text+0圆3): undefined reference to `pthread_join'Ĭollect2: error: ld returned 1 exit status usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach' Src.c:(.text+0x46): undefined reference to `pthread_create' usr/bin/ld: CMakeFiles/cmTC_ae4b9.dir/src.c.o: in function `main': usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_ae4b9.dir/src.c.o -o cmTC_ae4b9 ![]() usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ae4b9.dir/link.txt -verbose=1 usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIE -o CMakeFiles/cmTC_ae4b9.dir/src.c.o -c /home//git_projects/darktable/build/CMakeFiles/CMakeTmp/src.c Make: Entering directory '/home//git_projects/darktable/build/CMakeFiles/CMakeTmp'īuilding C object CMakeFiles/cmTC_ae4b9.dir/src.c.o Run Build Command(s):/usr/bin/make cmTC_ae4b9/fast & /usr/bin/make -f CMakeFiles/cmTC_ae4b9.dir/build.make CMakeFiles/cmTC_ae4b9.dir/build ![]() Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:Ĭhange Dir: /home//git_projects/darktable/build/CMakeFiles/CMakeTmp ![]()
0 Comments
Leave a Reply. |