[root@71a867f56400 debug]# cat /build/icinga2/debug/CMakeFiles/CMakeError.log Determining if the pthread_create exist failed with the following output: Change Dir: /build/icinga2/debug/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_d5c8b/fast" /usr/bin/gmake -f CMakeFiles/cmTC_d5c8b.dir/build.make CMakeFiles/cmTC_d5c8b.dir/build gmake[1]: Entering directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d5c8b.dir/CheckSymbolExists.c.o /usr/lib64/ccache/cc -o CMakeFiles/cmTC_d5c8b.dir/CheckSymbolExists.c.o -c /build/icinga2/debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_d5c8b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5c8b.dir/link.txt --verbose=1 /usr/lib64/ccache/cc -rdynamic CMakeFiles/cmTC_d5c8b.dir/CheckSymbolExists.c.o -o cmTC_d5c8b CMakeFiles/cmTC_d5c8b.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_d5c8b.dir/build.make:87: cmTC_d5c8b] Error 1 gmake[1]: Leaving directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_d5c8b/fast] Error 2 File /build/icinga2/debug/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: /build/icinga2/debug/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_85a86/fast" /usr/bin/gmake -f CMakeFiles/cmTC_85a86.dir/build.make CMakeFiles/cmTC_85a86.dir/build gmake[1]: Entering directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_85a86.dir/CheckFunctionExists.c.o /usr/lib64/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_85a86.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_85a86 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_85a86.dir/link.txt --verbose=1 /usr/lib64/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_85a86.dir/CheckFunctionExists.c.o -o cmTC_85a86 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_85a86.dir/build.make:87: cmTC_85a86] Error 1 gmake[1]: Leaving directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_85a86/fast] Error 2 Determining if the function backtrace_symbols exists in the execinfo failed with the following output: Change Dir: /build/icinga2/debug/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_2b059/fast" /usr/bin/gmake -f CMakeFiles/cmTC_2b059.dir/build.make CMakeFiles/cmTC_2b059.dir/build gmake[1]: Entering directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2b059.dir/CheckFunctionExists.c.o /usr/lib64/ccache/cc -g -pthread -Winvalid-pch -DCHECK_FUNCTION_EXISTS=backtrace_symbols -o CMakeFiles/cmTC_2b059.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_2b059 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b059.dir/link.txt --verbose=1 /usr/lib64/ccache/cc -g -pthread -Winvalid-pch -DCHECK_FUNCTION_EXISTS=backtrace_symbols -rdynamic CMakeFiles/cmTC_2b059.dir/CheckFunctionExists.c.o -o cmTC_2b059 -lexecinfo /usr/bin/ld: cannot find -lexecinfo collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_2b059.dir/build.make:87: cmTC_2b059] Error 1 gmake[1]: Leaving directory '/build/icinga2/debug/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_2b059/fast] Error 2