Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6f1c8/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6f1c8.dir/build.make CMakeFiles/cmTC_6f1c8.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6f1c8.dir/src.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -fPIE -o CMakeFiles/cmTC_6f1c8.dir/src.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_6f1c8 /data/buildroot-autobuilder/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6f1c8.dir/link.txt --verbose=1 /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_6f1c8.dir/src.c.o -o cmTC_6f1c8 /data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/10.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_6f1c8.dir/src.c.o: in function `main': src.c:(.text.startup+0x23): undefined reference to `pthread_create' /data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/10.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' /data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/10.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: src.c:(.text.startup+0x37): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_6f1c8.dir/build.make:90: cmTC_6f1c8] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_6f1c8/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/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: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f8804/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f8804.dir/build.make CMakeFiles/cmTC_f8804.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f8804.dir/CheckFunctionExists.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -fPIE -o CMakeFiles/cmTC_f8804.dir/CheckFunctionExists.c.o -c /data/buildroot-autobuilder/instance-0/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_f8804 /data/buildroot-autobuilder/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f8804.dir/link.txt --verbose=1 /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_f8804.dir/CheckFunctionExists.c.o -o cmTC_f8804 -lpthreads /data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/10.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_f8804.dir/build.make:90: cmTC_f8804] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_f8804/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Determining if the pthread_mutex_timedlock exist failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_abebe/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_abebe.dir/build.make CMakeFiles/cmTC_abebe.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_abebe.dir/CheckSymbolExists.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DNDEBUG -fPIE -o CMakeFiles/cmTC_abebe.dir/CheckSymbolExists.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_abebe /data/buildroot-autobuilder/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_abebe.dir/link.txt --verbose=1 /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DNDEBUG CMakeFiles/cmTC_abebe.dir/CheckSymbolExists.c.o -o cmTC_abebe /data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-gnu/10.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_abebe.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_mutex_timedlock' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_abebe.dir/build.make:90: cmTC_abebe] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_abebe/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' File /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_mutex_timedlock return ((int*)(&pthread_mutex_timedlock))[argc]; #else (void)argc; return 0; #endif } Determining if files sys/modem.h exist failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6d83a/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6d83a.dir/build.make CMakeFiles/cmTC_6d83a.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6d83a.dir/HAVE_SYS_MODEM_H.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -fno-omit-frame-pointer -DNDEBUG -fPIE -o CMakeFiles/cmTC_6d83a.dir/HAVE_SYS_MODEM_H.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MODEM_H.c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MODEM_H.c:2:10: fatal error: sys/modem.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_6d83a.dir/build.make:69: CMakeFiles/cmTC_6d83a.dir/HAVE_SYS_MODEM_H.c.o] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_6d83a/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files sys/filio.h exist failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1c1fd/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1c1fd.dir/build.make CMakeFiles/cmTC_1c1fd.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1c1fd.dir/HAVE_SYS_FILIO_H.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -fno-omit-frame-pointer -DNDEBUG -fPIE -o CMakeFiles/cmTC_1c1fd.dir/HAVE_SYS_FILIO_H.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c:2:10: fatal error: sys/filio.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_1c1fd.dir/build.make:69: CMakeFiles/cmTC_1c1fd.dir/HAVE_SYS_FILIO_H.c.o] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_1c1fd/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files sys/sockio.h exist failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ad6f5/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ad6f5.dir/build.make CMakeFiles/cmTC_ad6f5.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ad6f5.dir/HAVE_SYS_SOCKIO_H.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -fno-omit-frame-pointer -DNDEBUG -fPIE -o CMakeFiles/cmTC_ad6f5.dir/HAVE_SYS_SOCKIO_H.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c:2:10: fatal error: sys/sockio.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_ad6f5.dir/build.make:69: CMakeFiles/cmTC_ad6f5.dir/HAVE_SYS_SOCKIO_H.c.o] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_ad6f5/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files sys/strtio.h exist failed with the following output: Change Dir: /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_25d13/fast && make[1]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_25d13.dir/build.make CMakeFiles/cmTC_25d13.dir/build make[2]: Entering directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_25d13.dir/HAVE_SYS_STRTIO_H.c.o /data/buildroot-autobuilder/instance-0/output-1/host/bin/x86_64-linux-gcc --sysroot=/data/buildroot-autobuilder/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -fno-omit-frame-pointer -DNDEBUG -fPIE -o CMakeFiles/cmTC_25d13.dir/HAVE_SYS_STRTIO_H.c.o -c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STRTIO_H.c /data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_STRTIO_H.c:2:10: fatal error: sys/strtio.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_25d13.dir/build.make:69: CMakeFiles/cmTC_25d13.dir/HAVE_SYS_STRTIO_H.c.o] Error 1 make[2]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:124: cmTC_25d13/fast] Error 2 make[1]: Leaving directory '/data/buildroot-autobuilder/instance-0/output-1/build/freerdp-2.3.1/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;}