Determining if the pthread_create exist failed with the following output: Change Dir: /home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_ed1c4/fast" /usr/bin/gmake -f CMakeFiles/cmTC_ed1c4.dir/build.make CMakeFiles/cmTC_ed1c4.dir/build gmake[1]: Entering directory `/home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ed1c4.dir/CheckSymbolExists.c.o /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/gcc -o CMakeFiles/cmTC_ed1c4.dir/CheckSymbolExists.c.o -c /home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_ed1c4 /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed1c4.dir/link.txt --verbose=1 /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/gcc CMakeFiles/cmTC_ed1c4.dir/CheckSymbolExists.c.o -o cmTC_ed1c4 -rdynamic CMakeFiles/cmTC_ed1c4.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]: *** [cmTC_ed1c4] Error 1 gmake[1]: Leaving directory `/home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp' gmake: *** [cmTC_ed1c4/fast] Error 2 File /home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/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/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_88dd7/fast" /usr/bin/gmake -f CMakeFiles/cmTC_88dd7.dir/build.make CMakeFiles/cmTC_88dd7.dir/build gmake[1]: Entering directory `/home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_88dd7.dir/CheckFunctionExists.c.o /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_88dd7.dir/CheckFunctionExists.c.o -c /home/mice/Grid/MAUS-v2.8.5/third_party/install/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_88dd7 /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88dd7.dir/link.txt --verbose=1 /home/mice/Grid/MAUS-v2.8.5/third_party/install/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_88dd7.dir/CheckFunctionExists.c.o -o cmTC_88dd7 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: *** [cmTC_88dd7] Error 1 gmake[1]: Leaving directory `/home/mice/Grid/MAUS-v2.8.5/third_party/build/root_v5.34.36/CMakeFiles/CMakeTmp' gmake: *** [cmTC_88dd7/fast] Error 2