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_02547/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_02547.dir/build.make CMakeFiles/cmTC_02547.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_02547.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 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_02547.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_02547 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02547.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 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_02547.dir/src.c.o -o cmTC_02547 CMakeFiles/cmTC_02547.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_02547.dir/build.make:87: cmTC_02547] 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_02547/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_84783/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_84783.dir/build.make CMakeFiles/cmTC_84783.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_84783.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 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_84783.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_84783 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_84783.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 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_84783.dir/CheckFunctionExists.c.o -o cmTC_84783 -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_84783.dir/build.make:87: cmTC_84783] 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_84783/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_e4abc/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_e4abc.dir/build.make CMakeFiles/cmTC_e4abc.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_e4abc.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -DNDEBUG -o CMakeFiles/cmTC_e4abc.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_e4abc.dir/build.make:66: CMakeFiles/cmTC_e4abc.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_e4abc/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_4e4b3/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_4e4b3.dir/build.make CMakeFiles/cmTC_4e4b3.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_4e4b3.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_WIN_SETTHREADPRIORITY -DNDEBUG -o CMakeFiles/cmTC_4e4b3.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_4e4b3.dir/build.make:66: CMakeFiles/cmTC_4e4b3.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_4e4b3/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_1220a/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_1220a.dir/build.make CMakeFiles/cmTC_1220a.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_1220a.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_MACH_ABSOLUTE_TIME -DNDEBUG -o CMakeFiles/cmTC_1220a.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_1220a.dir/build.make:66: CMakeFiles/cmTC_1220a.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_1220a/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_49e01/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_49e01.dir/build.make CMakeFiles/cmTC_49e01.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_49e01.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_QUERY_PERFORMANCE_COUNTER -DNDEBUG -o CMakeFiles/cmTC_49e01.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_49e01.dir/build.make:66: CMakeFiles/cmTC_49e01.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_49e01/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_e1306/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_e1306.dir/build.make CMakeFiles/cmTC_e1306.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_e1306.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_LOAD_LIBRARY -DNDEBUG -o CMakeFiles/cmTC_e1306.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_e1306.dir/build.make:66: CMakeFiles/cmTC_e1306.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_e1306/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_19fa1/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_19fa1.dir/build.make CMakeFiles/cmTC_19fa1.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_19fa1.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_19fa1.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_19fa1.dir/build.make:66: CMakeFiles/cmTC_19fa1.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_19fa1/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_769ea/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_769ea.dir/build.make CMakeFiles/cmTC_769ea.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_769ea.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 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_769ea.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_769ea.dir/build.make:66: CMakeFiles/cmTC_769ea.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_769ea/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp'