Determining if the pthread_create exist failed with the following output: Change Dir: /home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b8b3d/fast" /usr/bin/make -f CMakeFiles/cmTC_b8b3d.dir/build.make CMakeFiles/cmTC_b8b3d.dir/build make[1]: Entering directory `/home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b8b3d.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTC_b8b3d.dir/CheckSymbolExists.c.o -c /home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_b8b3d /usr/local/cmake-3.9.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8b3d.dir/link.txt --verbose=1 /usr/bin/cc -rdynamic CMakeFiles/cmTC_b8b3d.dir/CheckSymbolExists.c.o -o cmTC_b8b3d CMakeFiles/cmTC_b8b3d.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: *** [cmTC_b8b3d] Error 1 make[1]: Leaving directory `/home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp' make: *** [cmTC_b8b3d/fast] Error 2 File /home/travis/build/M-Adoo/rundo/kcov-master/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: /home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2c99d/fast" /usr/bin/make -f CMakeFiles/cmTC_2c99d.dir/build.make CMakeFiles/cmTC_2c99d.dir/build make[1]: Entering directory `/home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2c99d.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2c99d.dir/CheckFunctionExists.c.o -c /usr/local/cmake-3.9.2/share/cmake-3.9/Modules/CheckFunctionExists.c Linking C executable cmTC_2c99d /usr/local/cmake-3.9.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2c99d.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_2c99d.dir/CheckFunctionExists.c.o -o cmTC_2c99d -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: *** [cmTC_2c99d] Error 1 make[1]: Leaving directory `/home/travis/build/M-Adoo/rundo/kcov-master/build/CMakeFiles/CMakeTmp' make: *** [cmTC_2c99d/fast] Error 2