Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_06005/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_06005.dir/build.make CMakeFiles/cmTC_06005.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_06005.dir/src.c.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_06005.dir/src.c.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_06005 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06005.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_06005.dir/src.c.o -o cmTC_06005 /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_06005.dir/src.c.o: in function `main': src.c:(.text.startup+0x1c): undefined reference to `pthread_create' /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: src.c:(.text.startup+0x24): undefined reference to `pthread_detach' /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: src.c:(.text.startup+0x30): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_06005.dir/build.make:87: cmTC_06005] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_06005/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_803c0/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_803c0.dir/build.make CMakeFiles/cmTC_803c0.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_803c0.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_803c0.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_803c0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_803c0.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_803c0.dir/CheckFunctionExists.c.o -o cmTC_803c0 -lpthreads /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_803c0.dir/build.make:87: cmTC_803c0] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_803c0/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_0eb19/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0eb19.dir/build.make CMakeFiles/cmTC_0eb19.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0eb19.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -DNDEBUG -o CMakeFiles/cmTC_0eb19.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx arm-linux-g++.br_real: error: unrecognized command line option '-msse2' make[2]: *** [CMakeFiles/cmTC_0eb19.dir/build.make:66: CMakeFiles/cmTC_0eb19.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_0eb19/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_55814/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_55814.dir/build.make CMakeFiles/cmTC_55814.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_55814.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_WIN_SETTHREADPRIORITY -DNDEBUG -o CMakeFiles/cmTC_55814.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/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 2 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_55814.dir/build.make:66: CMakeFiles/cmTC_55814.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_55814/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_5d329/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5d329.dir/build.make CMakeFiles/cmTC_5d329.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5d329.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_MACH_ABSOLUTE_TIME -DNDEBUG -o CMakeFiles/cmTC_5d329.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/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 2 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_5d329.dir/build.make:66: CMakeFiles/cmTC_5d329.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_5d329/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3c15d/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3c15d.dir/build.make CMakeFiles/cmTC_3c15d.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3c15d.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_QUERY_PERFORMANCE_COUNTER -DNDEBUG -o CMakeFiles/cmTC_3c15d.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/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 2 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_3c15d.dir/build.make:66: CMakeFiles/cmTC_3c15d.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_3c15d/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_b94a8/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b94a8.dir/build.make CMakeFiles/cmTC_b94a8.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b94a8.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_LOAD_LIBRARY -DNDEBUG -o CMakeFiles/cmTC_b94a8.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/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 3 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_b94a8.dir/build.make:66: CMakeFiles/cmTC_b94a8.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_b94a8/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_37b06/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_37b06.dir/build.make CMakeFiles/cmTC_37b06.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_37b06.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_37b06.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-0/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 1 | #include | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_37b06.dir/build.make:66: CMakeFiles/cmTC_37b06.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_37b06/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/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-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ae15e/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ae15e.dir/build.make CMakeFiles/cmTC_ae15e.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ae15e.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -I/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_ae15e.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-0/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 1 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_ae15e.dir/build.make:66: CMakeFiles/cmTC_ae15e.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_ae15e/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp'