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