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_41a9b/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_41a9b.dir/build.make CMakeFiles/cmTC_41a9b.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_41a9b.dir/src.c.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_41a9b.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_41a9b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_41a9b.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_41a9b.dir/src.c.o -o cmTC_41a9b CMakeFiles/cmTC_41a9b.dir/src.c.o: In function `main': src.c:(.text.startup+0x30): undefined reference to `pthread_create' src.c:(.text.startup+0x38): undefined reference to `pthread_detach' src.c:(.text.startup+0x44): undefined reference to `pthread_join' src.c:(.text.startup+0x54): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_41a9b.dir/build.make:87: cmTC_41a9b] 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_41a9b/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_fbe86/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_fbe86.dir/build.make CMakeFiles/cmTC_fbe86.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_fbe86.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_fbe86.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_fbe86 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbe86.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_fbe86.dir/CheckFunctionExists.c.o -o cmTC_fbe86 -lpthreads /tmp/instance-0/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_fbe86.dir/build.make:87: cmTC_fbe86] 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_fbe86/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_b9ed7/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_b9ed7.dir/build.make CMakeFiles/cmTC_b9ed7.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_b9ed7.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -DNDEBUG -o CMakeFiles/cmTC_b9ed7.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-gnueabihf-g++: error: unrecognized command line option '-msse2' make[2]: *** [CMakeFiles/cmTC_b9ed7.dir/build.make:66: CMakeFiles/cmTC_b9ed7.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_b9ed7/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_37850/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_37850.dir/build.make CMakeFiles/cmTC_37850.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_37850.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_WIN_SETTHREADPRIORITY -DNDEBUG -o CMakeFiles/cmTC_37850.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 #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_37850.dir/build.make:66: CMakeFiles/cmTC_37850.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_37850/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_9bb48/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_9bb48.dir/build.make CMakeFiles/cmTC_9bb48.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_9bb48.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_MACH_ABSOLUTE_TIME -DNDEBUG -o CMakeFiles/cmTC_9bb48.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 #include ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_9bb48.dir/build.make:66: CMakeFiles/cmTC_9bb48.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_9bb48/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_57fae/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_57fae.dir/build.make CMakeFiles/cmTC_57fae.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_57fae.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_QUERY_PERFORMANCE_COUNTER -DNDEBUG -o CMakeFiles/cmTC_57fae.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 #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_57fae.dir/build.make:66: CMakeFiles/cmTC_57fae.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_57fae/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_00f53/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_00f53.dir/build.make CMakeFiles/cmTC_00f53.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_00f53.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_LOAD_LIBRARY -DNDEBUG -o CMakeFiles/cmTC_00f53.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 #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_00f53.dir/build.make:66: CMakeFiles/cmTC_00f53.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_00f53/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_7d703/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_7d703.dir/build.make CMakeFiles/cmTC_7d703.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_7d703.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_7d703.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 #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_7d703.dir/build.make:66: CMakeFiles/cmTC_7d703.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_7d703/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_8166f/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_8166f.dir/build.make CMakeFiles/cmTC_8166f.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_8166f.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/arm-linux-gnueabihf-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 -Os -g0 -D_FORTIFY_SOURCE=1 -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_8166f.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 #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_8166f.dir/build.make:66: CMakeFiles/cmTC_8166f.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_8166f/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp'