Determining if the pthread_create exist failed with the following output: Change Dir: /nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_620be/fast" make[1]: Entering directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_620be.dir/build.make CMakeFiles/cmTC_620be.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_620be.dir/CheckSymbolExists.c.o /nvmedata/autobuild/instance-1/output-1/host/bin/x86_64-amd-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-1/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_620be.dir/CheckSymbolExists.c.o -c /nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_620be /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_620be.dir/link.txt --verbose=1 /nvmedata/autobuild/instance-1/output-1/host/bin/x86_64-amd-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-1/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG CMakeFiles/cmTC_620be.dir/CheckSymbolExists.c.o -o cmTC_620be CMakeFiles/cmTC_620be.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_620be.dir/build.make:87: cmTC_620be] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_620be/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' File /nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-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: /nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6d427/fast" make[1]: Entering directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6d427.dir/build.make CMakeFiles/cmTC_6d427.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6d427.dir/CheckFunctionExists.c.o /nvmedata/autobuild/instance-1/output-1/host/bin/x86_64-amd-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-1/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_6d427.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c Linking C executable cmTC_6d427 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6d427.dir/link.txt --verbose=1 /nvmedata/autobuild/instance-1/output-1/host/bin/x86_64-amd-linux-gnu-gcc --sysroot=/nvmedata/autobuild/instance-1/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_6d427.dir/CheckFunctionExists.c.o -o cmTC_6d427 -lpthreads /nvmedata/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-amd-linux-gnu/6.2.0/../../../../x86_64-amd-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_6d427.dir/build.make:87: cmTC_6d427] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_6d427/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-1/output-1/build/gr-osmosdr-46698a67e7e06419eefaf45c95129c0c12669045/buildroot-build/CMakeFiles/CMakeTmp'