Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3f474/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3f474.dir/build.make CMakeFiles/cmTC_3f474.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3f474.dir/src.c.o /home/br-user/work/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DCMAKE_HAVE_LIBC_PTHREAD -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_3f474.dir/src.c.o -c /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_3f474 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f474.dir/link.txt --verbose=1 /home/br-user/work/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -DNDEBUG -latomic CMakeFiles/cmTC_3f474.dir/src.c.o -o cmTC_3f474 /home/br-user/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ld: CMakeFiles/cmTC_3f474.dir/src.c.o: undefined reference to symbol 'pthread_join@@GLIBC_2.17' /home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_3f474.dir/build.make:99: cmTC_3f474] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_3f474/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(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: /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_85920/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_85920.dir/build.make CMakeFiles/cmTC_85920.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_85920.dir/CheckFunctionExists.c.o /home/br-user/work/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_85920.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_85920 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_85920.dir/link.txt --verbose=1 /home/br-user/work/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -latomic CMakeFiles/cmTC_85920.dir/CheckFunctionExists.c.o -o cmTC_85920 -lpthreads /home/br-user/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_85920.dir/build.make:99: cmTC_85920] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_85920/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test HAVE_CREATEFILEMAPPING failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_487b7/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_487b7.dir/build.make CMakeFiles/cmTC_487b7.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_487b7.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_CREATEFILEMAPPING -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_487b7.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_487b7.dir/build.make:78: CMakeFiles/cmTC_487b7.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_487b7/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ HANDLE handle; int size; LPCTSTR lpName; handle = CreateFileMapping( INVALID_HANDLE_VALUE, // use paging file NULL, // default security PAGE_READWRITE, // read/write access 0, // max. object size size, // buffer size lpName); // name of mapping object return 0; }