Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4ca41/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4ca41.dir/build.make CMakeFiles/cmTC_4ca41.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4ca41.dir/src.c.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_4ca41.dir/src.c.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_4ca41 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4ca41.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_4ca41.dir/src.c.o -o cmTC_4ca41 CMakeFiles/cmTC_4ca41.dir/src.c.o: In function `main': src.c:(.text.startup+0x14): undefined reference to `pthread_create' src.c:(.text.startup+0x1c): undefined reference to `pthread_detach' src.c:(.text.startup+0x28): undefined reference to `pthread_join' src.c:(.text.startup+0x38): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_4ca41.dir/build.make:87: cmTC_4ca41] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_4ca41/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_07398/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_07398.dir/build.make CMakeFiles/cmTC_07398.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_07398.dir/CheckFunctionExists.c.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_07398.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_07398 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07398.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_07398.dir/CheckFunctionExists.c.o -o cmTC_07398 -lpthreads /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/7.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_07398.dir/build.make:87: cmTC_07398] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_07398/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file emmintrin.h exists failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7f342/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7f342.dir/build.make CMakeFiles/cmTC_7f342.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7f342.dir/CheckIncludeFile.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -DNDEBUG -o CMakeFiles/cmTC_7f342.dir/CheckIncludeFile.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx arm-linux-gnueabihf-g++: error: unrecognized command line option '-msse2' make[2]: *** [CMakeFiles/cmTC_7f342.dir/build.make:66: CMakeFiles/cmTC_7f342.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_7f342/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test HAVE_WIN_SETTHREADPRIORITY failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8859b/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8859b.dir/build.make CMakeFiles/cmTC_8859b.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8859b.dir/src.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_WIN_SETTHREADPRIORITY -DNDEBUG -o CMakeFiles/cmTC_8859b.dir/src.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_8859b.dir/build.make:66: CMakeFiles/cmTC_8859b.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_8859b/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ SetThreadPriority(GetCurrentThread(), 0); SetPriorityClass(GetCurrentProcess(), 0); return 0; } Performing C++ SOURCE FILE Test HAVE_MACH_ABSOLUTE_TIME failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7286b/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7286b.dir/build.make CMakeFiles/cmTC_7286b.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7286b.dir/src.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_MACH_ABSOLUTE_TIME -DNDEBUG -o CMakeFiles/cmTC_7286b.dir/src.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: mach/mach_time.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_7286b.dir/build.make:66: CMakeFiles/cmTC_7286b.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_7286b/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ mach_timebase_info_data_t info; mach_timebase_info(&info); mach_absolute_time(); return 0; } Performing C++ SOURCE FILE Test HAVE_QUERY_PERFORMANCE_COUNTER failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_b0e36/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b0e36.dir/build.make CMakeFiles/cmTC_b0e36.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b0e36.dir/src.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_QUERY_PERFORMANCE_COUNTER -DNDEBUG -o CMakeFiles/cmTC_b0e36.dir/src.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: Windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_b0e36.dir/build.make:66: CMakeFiles/cmTC_b0e36.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_b0e36/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ LARGE_INTEGER value; QueryPerformanceCounter(&value); QueryPerformanceFrequency(&value); return 0; } Performing C++ SOURCE FILE Test HAVE_LOAD_LIBRARY failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f087c/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f087c.dir/build.make CMakeFiles/cmTC_f087c.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f087c.dir/src.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_LOAD_LIBRARY -DNDEBUG -o CMakeFiles/cmTC_f087c.dir/src.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3:14: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_f087c.dir/build.make:66: CMakeFiles/cmTC_f087c.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_f087c/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #define WIN32_LEAN_AND_MEAN #include int main(){ LoadLibrary(0); return 0; } Determining if the include file winsock2.h exists failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d0f8d/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d0f8d.dir/build.make CMakeFiles/cmTC_d0f8d.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d0f8d.dir/CheckIncludeFile.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_d0f8d.dir/CheckIncludeFile.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_d0f8d.dir/build.make:66: CMakeFiles/cmTC_d0f8d.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_d0f8d/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file atlbase.h exists failed with the following output: Change Dir: /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4a9e3/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4a9e3.dir/build.make CMakeFiles/cmTC_4a9e3.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4a9e3.dir/CheckIncludeFile.cxx.o /tmp/instance-1/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_4a9e3.dir/CheckIncludeFile.cxx.o -c /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: atlbase.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_4a9e3.dir/build.make:66: CMakeFiles/cmTC_4a9e3.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_4a9e3/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp'