Determining if the pthread_create exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1102317060/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1102317060.dir/build.make CMakeFiles/cmTryCompileExec1102317060.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1102317060.dir/CheckSymbolExists.c.o /usr/lib/ccache/cc -o CMakeFiles/cmTryCompileExec1102317060.dir/CheckSymbolExists.c.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1102317060 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1102317060.dir/link.txt --verbose=1 /usr/lib/ccache/cc CMakeFiles/cmTryCompileExec1102317060.dir/CheckSymbolExists.c.o -o cmTryCompileExec1102317060 -rdynamic CMakeFiles/cmTryCompileExec1102317060.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0xa): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec1102317060] Error 1 make: *** [cmTryCompileExec1102317060/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2158071334/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2158071334.dir/build.make CMakeFiles/cmTryCompileExec2158071334.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2158071334.dir/CheckFunctionExists.c.o /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec2158071334.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2158071334 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2158071334.dir/link.txt --verbose=1 /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2158071334.dir/CheckFunctionExists.c.o -o cmTryCompileExec2158071334 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec2158071334] Error 1 make: *** [cmTryCompileExec2158071334/fast] Error 2 Determining if the function dlopen exists failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec705941684/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec705941684.dir/build.make CMakeFiles/cmTryCompileExec705941684.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec705941684.dir/CheckFunctionExists.c.o /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=dlopen -o CMakeFiles/cmTryCompileExec705941684.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec705941684 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec705941684.dir/link.txt --verbose=1 /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=dlopen CMakeFiles/cmTryCompileExec705941684.dir/CheckFunctionExists.c.o -o cmTryCompileExec705941684 -rdynamic CMakeFiles/cmTryCompileExec705941684.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x7): undefined reference to `dlopen' collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec705941684] Error 1 make: *** [cmTryCompileExec705941684/fast] Error 2