Determining if the pthread_create exist failed with the following output: Change Dir: /root/ceph/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4044095628/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec4044095628.dir/build.make CMakeFiles/cmTryCompileExec4044095628.dir/build gmake[1]: Entering directory `/root/ceph/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ceph/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4044095628.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTryCompileExec4044095628.dir/CheckSymbolExists.c.o -c /root/ceph/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4044095628 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4044095628.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTryCompileExec4044095628.dir/CheckSymbolExists.c.o -o cmTryCompileExec4044095628 -rdynamic CMakeFiles/cmTryCompileExec4044095628.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]: Leaving directory `/root/ceph/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec4044095628] Error 1 gmake: *** [cmTryCompileExec4044095628/fast] Error 2 File /root/ceph/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: /root/ceph/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1133153953/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1133153953.dir/build.make CMakeFiles/cmTryCompileExec1133153953.dir/build gmake[1]: Entering directory `/root/ceph/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ceph/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1133153953.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1133153953.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1133153953 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1133153953.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1133153953.dir/CheckFunctionExists.c.o -o cmTryCompileExec1133153953 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: Leaving directory `/root/ceph/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec1133153953] Error 1 gmake: *** [cmTryCompileExec1133153953/fast] Error 2 Determining if the function pthread_set_name_np exists failed with the following output: Change Dir: /root/ceph/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1281900563/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1281900563.dir/build.make CMakeFiles/cmTryCompileExec1281900563.dir/build gmake[1]: Entering directory `/root/ceph/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ceph/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1281900563.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_set_name_np -o CMakeFiles/cmTryCompileExec1281900563.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1281900563 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1281900563.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_set_name_np CMakeFiles/cmTryCompileExec1281900563.dir/CheckFunctionExists.c.o -o cmTryCompileExec1281900563 -rdynamic -lpthread CMakeFiles/cmTryCompileExec1281900563.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x15): undefined reference to `pthread_set_name_np' collect2: error: ld returned 1 exit status gmake[1]: Leaving directory `/root/ceph/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec1281900563] Error 1 gmake: *** [cmTryCompileExec1281900563/fast] Error 2 Performing C SOURCE FILE Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC failed with the following output: Change Dir: /root/ceph/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2997869652/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2997869652.dir/build.make CMakeFiles/cmTryCompileExec2997869652.dir/build gmake[1]: Entering directory `/root/ceph/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/ceph/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2997869652.dir/src.c.o /usr/bin/cc -DHAVE_STAT_ST_MTIMESPEC_TV_NSEC -o CMakeFiles/cmTryCompileExec2997869652.dir/src.c.o -c /root/ceph/build/CMakeFiles/CMakeTmp/src.c /root/ceph/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /root/ceph/build/CMakeFiles/CMakeTmp/src.c:7:7: error: ‘struct stat’ has no member named ‘st_mtimespec’ tmp->st_mtimespec.tv_nsec; ^ gmake[1]: Leaving directory `/root/ceph/build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec2997869652.dir/src.c.o] Error 1 gmake: *** [cmTryCompileExec2997869652/fast] Error 2 Source file was: #include int main() { struct stat* tmp; tmp->st_mtimespec.tv_nsec; return 0; }