Determining if the environ exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_072b6/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_072b6.dir/build.make CMakeFiles/cmTC_072b6.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_072b6.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -std=gnu11 -o CMakeFiles/cmTC_072b6.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'environ' undeclared (first use in this function) 8 | return ((int*)(&environ))[argc]; | ^~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_072b6.dir/build.make:85: CMakeFiles/cmTC_072b6.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_072b6/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef environ return ((int*)(&environ))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_03b81/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_03b81.dir/build.make CMakeFiles/cmTC_03b81.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_03b81.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DCMAKE_HAVE_LIBC_PTHREAD -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -std=gnu11 -o CMakeFiles/cmTC_03b81.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_03b81 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_03b81.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_03b81.dir/src.c.o -o cmTC_03b81 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_03b81.dir/src.c.o: in function `main': src.c:(.text.startup+0x23): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_cancel' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x40): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_03b81.dir/build.make:106: cmTC_03b81] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_03b81/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/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: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_dbe06/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_dbe06.dir/build.make CMakeFiles/cmTC_dbe06.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_dbe06.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=pthread_create -std=gnu11 -o CMakeFiles/cmTC_dbe06.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_dbe06 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_dbe06.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=pthread_create -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_dbe06.dir/CheckFunctionExists.c.o -o cmTC_dbe06 -lpthreads /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_dbe06.dir/build.make:106: cmTC_dbe06] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_dbe06/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Checking whether CXX compiler has environ in stdlib.h failed to compile with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_1fd20/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_1fd20.dir/build.make CMakeFiles/cmTC_1fd20.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1fd20.dir/kwsysPlatformTestsCXX.cxx.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/g++ -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -std=gnu++17 -o CMakeFiles/cmTC_1fd20.dir/kwsysPlatformTestsCXX.cxx.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:53:13: error: 'environ' was not declared in this scope; did you mean 'union'? 53 | char* e = environ[0]; | ^~~~~~~ | union gmake[5]: *** [CMakeFiles/cmTC_1fd20.dir/build.make:85: CMakeFiles/cmTC_1fd20.dir/kwsysPlatformTestsCXX.cxx.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_1fd20/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler struct stat has st_mtimespec member failed to compile with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_eef96/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_eef96.dir/build.make CMakeFiles/cmTC_eef96.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_eef96.dir/kwsysPlatformTestsCXX.cxx.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/g++ -DTEST_KWSYS_CXX_STAT_HAS_ST_MTIMESPEC -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -std=gnu++17 -o CMakeFiles/cmTC_eef96.dir/kwsysPlatformTestsCXX.cxx.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:26:15: error: 'struct stat' has no member named 'st_mtimespec' 26 | (void)stat1.st_mtimespec.tv_sec; | ^~~~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:27:15: error: 'struct stat' has no member named 'st_mtimespec' 27 | (void)stat1.st_mtimespec.tv_nsec; | ^~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_eef96.dir/build.make:85: CMakeFiles/cmTC_eef96.dir/kwsysPlatformTestsCXX.cxx.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_eef96/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the function connect exists in the socket;dl failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_cc5ee/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_cc5ee.dir/build.make CMakeFiles/cmTC_cc5ee.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cc5ee.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=connect -std=gnu11 -o CMakeFiles/cmTC_cc5ee.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_cc5ee /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_cc5ee.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=connect -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_cc5ee.dir/CheckFunctionExists.c.o -o cmTC_cc5ee -lsocket -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_cc5ee.dir/build.make:106: cmTC_cc5ee] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_cc5ee/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function recv exists in the network;dl failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_06ae2/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_06ae2.dir/build.make CMakeFiles/cmTC_06ae2.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_06ae2.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=recv -std=gnu11 -o CMakeFiles/cmTC_06ae2.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_06ae2 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_06ae2.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=recv -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_06ae2.dir/CheckFunctionExists.c.o -o cmTC_06ae2 -lnetwork -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnetwork collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_06ae2.dir/build.make:106: cmTC_06ae2] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_06ae2/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the RAND_status exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5bb73/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5bb73.dir/build.make CMakeFiles/cmTC_5bb73.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5bb73.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_5bb73.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_status' undeclared (first use in this function) 7 | return ((int*)(&RAND_status))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_5bb73.dir/build.make:85: CMakeFiles/cmTC_5bb73.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5bb73/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef RAND_status return ((int*)(&RAND_status))[argc]; #else (void)argc; return 0; #endif } Determining if the RAND_screen exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_d301c/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_d301c.dir/build.make CMakeFiles/cmTC_d301c.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d301c.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_d301c.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_screen' undeclared (first use in this function) 7 | return ((int*)(&RAND_screen))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_d301c.dir/build.make:85: CMakeFiles/cmTC_d301c.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_d301c/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef RAND_screen return ((int*)(&RAND_screen))[argc]; #else (void)argc; return 0; #endif } Determining if the RAND_egd exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_55e2f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_55e2f.dir/build.make CMakeFiles/cmTC_55e2f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_55e2f.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_55e2f.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_egd' undeclared (first use in this function) 7 | return ((int*)(&RAND_egd))[argc]; | ^~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_55e2f.dir/build.make:85: CMakeFiles/cmTC_55e2f.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_55e2f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ int main(int argc, char** argv) { (void)argv; #ifndef RAND_egd return ((int*)(&RAND_egd))[argc]; #else (void)argc; return 0; #endif } Determining if the function idn2_lookup_ul exists in the idn2;dl;/mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a;/mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a;-lpthread;dl;rt;pthread;cmnghttp2 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3e4c2/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_3e4c2.dir/build.make CMakeFiles/cmTC_3e4c2.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e4c2.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=idn2_lookup_ul -std=gnu11 -o CMakeFiles/cmTC_3e4c2.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_3e4c2 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_3e4c2.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=idn2_lookup_ul -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_3e4c2.dir/CheckFunctionExists.c.o -o cmTC_3e4c2 -lidn2 -ldl /mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a -lpthread -ldl -lrt -lpthread -lcmnghttp2 /mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a -lpthread -lrt -lpthread -lcmnghttp2 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2 collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_3e4c2.dir/build.make:110: cmTC_3e4c2] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_3e4c2/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function dlopen exists in the dl;/mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a;/mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a;-lpthread;dl;rt;pthread;cmnghttp2 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_86c96/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_86c96.dir/build.make CMakeFiles/cmTC_86c96.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_86c96.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=dlopen -std=gnu11 -o CMakeFiles/cmTC_86c96.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_86c96 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_86c96.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=dlopen -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_86c96.dir/CheckFunctionExists.c.o -o cmTC_86c96 -ldl /mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a -lpthread -ldl -lrt -lpthread -lcmnghttp2 /mnt/gold/openwrt/trunk/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/trunk/staging_dir/host/lib/libcrypto.a -lpthread -lrt -lpthread -lcmnghttp2 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2 collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_86c96.dir/build.make:110: cmTC_86c96] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_86c96/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if files stdio.h;inttypes.h;sys/filio.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5254b/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5254b.dir/build.make CMakeFiles/cmTC_5254b.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5254b.dir/HAVE_SYS_FILIO_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_5254b.dir/HAVE_SYS_FILIO_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c:4:10: fatal error: sys/filio.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_5254b.dir/build.make:85: CMakeFiles/cmTC_5254b.dir/HAVE_SYS_FILIO_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5254b/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/sockio.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_6e0c4/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_6e0c4.dir/build.make CMakeFiles/cmTC_6e0c4.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6e0c4.dir/HAVE_SYS_SOCKIO_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_6e0c4.dir/HAVE_SYS_SOCKIO_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c:10:10: fatal error: sys/sockio.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_6e0c4.dir/build.make:85: CMakeFiles/cmTC_6e0c4.dir/HAVE_SYS_SOCKIO_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_6e0c4/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/utime.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_874c9/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_874c9.dir/build.make CMakeFiles/cmTC_874c9.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_874c9.dir/HAVE_SYS_UTIME_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_874c9.dir/HAVE_SYS_UTIME_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c:15:10: fatal error: sys/utime.h: No such file or directory 15 | #include | ^~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_874c9.dir/build.make:85: CMakeFiles/cmTC_874c9.dir/HAVE_SYS_UTIME_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_874c9/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;crypto.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_fe54a/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_fe54a.dir/build.make CMakeFiles/cmTC_fe54a.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fe54a.dir/HAVE_CRYPTO_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_fe54a.dir/HAVE_CRYPTO_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_CRYPTO_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_CRYPTO_H.c:20:10: fatal error: crypto.h: No such file or directory 20 | #include | ^~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_fe54a.dir/build.make:85: CMakeFiles/cmTC_fe54a.dir/HAVE_CRYPTO_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_fe54a/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;io.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_cf13e/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_cf13e.dir/build.make CMakeFiles/cmTC_cf13e.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cf13e.dir/HAVE_IO_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_cf13e.dir/HAVE_IO_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_IO_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_IO_H.c:25:10: fatal error: io.h: No such file or directory 25 | #include | ^~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_cf13e.dir/build.make:85: CMakeFiles/cmTC_cf13e.dir/HAVE_IO_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_cf13e/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;krb.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_211f9/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_211f9.dir/build.make CMakeFiles/cmTC_211f9.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_211f9.dir/HAVE_KRB_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_211f9.dir/HAVE_KRB_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_KRB_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_KRB_H.c:25:10: fatal error: krb.h: No such file or directory 25 | #include | ^~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_211f9.dir/build.make:85: CMakeFiles/cmTC_211f9.dir/HAVE_KRB_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_211f9/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;pem.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_68e8c/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_68e8c.dir/build.make CMakeFiles/cmTC_68e8c.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_68e8c.dir/HAVE_PEM_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_68e8c.dir/HAVE_PEM_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_PEM_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_PEM_H.c:31:10: fatal error: pem.h: No such file or directory 31 | #include | ^~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_68e8c.dir/build.make:85: CMakeFiles/cmTC_68e8c.dir/HAVE_PEM_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_68e8c/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;rsa.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_481f9/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_481f9.dir/build.make CMakeFiles/cmTC_481f9.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_481f9.dir/HAVE_RSA_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_481f9.dir/HAVE_RSA_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_RSA_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_RSA_H.c:33:10: fatal error: rsa.h: No such file or directory 33 | #include | ^~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_481f9.dir/build.make:85: CMakeFiles/cmTC_481f9.dir/HAVE_RSA_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_481f9/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;setjmp.h;sgtty.h;signal.h;ssl.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_94fe3/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_94fe3.dir/build.make CMakeFiles/cmTC_94fe3.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_94fe3.dir/HAVE_SSL_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_94fe3.dir/HAVE_SSL_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SSL_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SSL_H.c:36:10: fatal error: ssl.h: No such file or directory 36 | #include | ^~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_94fe3.dir/build.make:85: CMakeFiles/cmTC_94fe3.dir/HAVE_SSL_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_94fe3/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;setjmp.h;sgtty.h;signal.h;stdbool.h;stdint.h;stdio.h;stdlib.h;string.h;strings.h;stropts.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_66f64/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_66f64.dir/build.make CMakeFiles/cmTC_66f64.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66f64.dir/HAVE_STROPTS_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_66f64.dir/HAVE_STROPTS_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_STROPTS_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_STROPTS_H.c:42:10: fatal error: stropts.h: No such file or directory 42 | #include | ^~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_66f64.dir/build.make:85: CMakeFiles/cmTC_66f64.dir/HAVE_STROPTS_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_66f64/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;setjmp.h;sgtty.h;signal.h;stdbool.h;stdint.h;stdio.h;stdlib.h;string.h;strings.h;termio.h;termios.h;time.h;unistd.h;utime.h;x509.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_37dfc/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_37dfc.dir/build.make CMakeFiles/cmTC_37dfc.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_37dfc.dir/HAVE_X509_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_37dfc.dir/HAVE_X509_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_X509_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_X509_H.c:47:10: fatal error: x509.h: No such file or directory 47 | #include | ^~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_37dfc.dir/build.make:85: CMakeFiles/cmTC_37dfc.dir/HAVE_X509_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_37dfc/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;setjmp.h;sgtty.h;signal.h;stdbool.h;stdint.h;stdio.h;stdlib.h;string.h;strings.h;termio.h;termios.h;time.h;unistd.h;utime.h;process.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_40d94/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_40d94.dir/build.make CMakeFiles/cmTC_40d94.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_40d94.dir/HAVE_PROCESS_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_40d94.dir/HAVE_PROCESS_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_PROCESS_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_PROCESS_H.c:47:10: fatal error: process.h: No such file or directory 47 | #include | ^~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_40d94.dir/build.make:85: CMakeFiles/cmTC_40d94.dir/HAVE_PROCESS_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_40d94/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files stdio.h;inttypes.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/resource.h;sys/select.h;sys/socket.h;sys/stat.h;sys/time.h;sys/types.h;sys/uio.h;sys/un.h;sys/xattr.h;alloca.h;arpa/inet.h;arpa/tftp.h;assert.h;err.h;errno.h;fcntl.h;idn2.h;ifaddrs.h;libgen.h;locale.h;net/if.h;netdb.h;netinet/in.h;netinet/tcp.h;poll.h;pwd.h;setjmp.h;sgtty.h;signal.h;stdbool.h;stdint.h;stdio.h;stdlib.h;string.h;strings.h;termio.h;termios.h;time.h;unistd.h;utime.h;stddef.h;dlfcn.h;malloc.h;memory.h;netinet/if_ether.h;stdint.h;sockio.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_0c122/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_0c122.dir/build.make CMakeFiles/cmTC_0c122.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0c122.dir/HAVE_SOCKIO_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_0c122.dir/HAVE_SOCKIO_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SOCKIO_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SOCKIO_H.c:53:10: fatal error: sockio.h: No such file or directory 53 | #include | ^~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_0c122.dir/build.make:85: CMakeFiles/cmTC_0c122.dir/HAVE_SOCKIO_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_0c122/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if the stricmp exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_cf27d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_cf27d.dir/build.make CMakeFiles/cmTC_cf27d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cf27d.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_cf27d.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'stricmp' undeclared (first use in this function); did you mean 'strncmp'? 59 | return ((int*)(&stricmp))[argc]; | ^~~~~~~ | strncmp /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_cf27d.dir/build.make:85: CMakeFiles/cmTC_cf27d.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_cf27d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef stricmp return ((int*)(&stricmp))[argc]; #else (void)argc; return 0; #endif } Determining if the strcmpi exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5b27e/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5b27e.dir/build.make CMakeFiles/cmTC_5b27e.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5b27e.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_5b27e.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'strcmpi' undeclared (first use in this function); did you mean 'strcmp'? 59 | return ((int*)(&strcmpi))[argc]; | ^~~~~~~ | strcmp /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_5b27e.dir/build.make:85: CMakeFiles/cmTC_5b27e.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5b27e/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strcmpi return ((int*)(&strcmpi))[argc]; #else (void)argc; return 0; #endif } Determining if the strncmpi exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9cb5d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9cb5d.dir/build.make CMakeFiles/cmTC_9cb5d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9cb5d.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_9cb5d.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'strncmpi' undeclared (first use in this function); did you mean 'strncmp'? 59 | return ((int*)(&strncmpi))[argc]; | ^~~~~~~~ | strncmp /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_9cb5d.dir/build.make:85: CMakeFiles/cmTC_9cb5d.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9cb5d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strncmpi return ((int*)(&strncmpi))[argc]; #else (void)argc; return 0; #endif } Determining if the inet_ntoa_r exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_500c5/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_500c5.dir/build.make CMakeFiles/cmTC_500c5.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_500c5.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_500c5.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'inet_ntoa_r' undeclared (first use in this function); did you mean 'inet_ntoa'? 59 | return ((int*)(&inet_ntoa_r))[argc]; | ^~~~~~~~~~~ | inet_ntoa /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_500c5.dir/build.make:85: CMakeFiles/cmTC_500c5.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_500c5/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef inet_ntoa_r return ((int*)(&inet_ntoa_r))[argc]; #else (void)argc; return 0; #endif } Determining if the closesocket exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9c2c8/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9c2c8.dir/build.make CMakeFiles/cmTC_9c2c8.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9c2c8.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_9c2c8.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'closesocket' undeclared (first use in this function) 59 | return ((int*)(&closesocket))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_9c2c8.dir/build.make:85: CMakeFiles/cmTC_9c2c8.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9c2c8/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef closesocket return ((int*)(&closesocket))[argc]; #else (void)argc; return 0; #endif } Determining if the getpass_r exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_a6163/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_a6163.dir/build.make CMakeFiles/cmTC_a6163.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a6163.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_a6163.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'getpass_r' undeclared (first use in this function); did you mean 'getpass'? 59 | return ((int*)(&getpass_r))[argc]; | ^~~~~~~~~ | getpass /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_a6163.dir/build.make:85: CMakeFiles/cmTC_a6163.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_a6163/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef getpass_r return ((int*)(&getpass_r))[argc]; #else (void)argc; return 0; #endif } Determining if the strlcat exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_0dcb2/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_0dcb2.dir/build.make CMakeFiles/cmTC_0dcb2.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0dcb2.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_0dcb2.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'strlcat' undeclared (first use in this function); did you mean 'strncat'? 59 | return ((int*)(&strlcat))[argc]; | ^~~~~~~ | strncat /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_0dcb2.dir/build.make:85: CMakeFiles/cmTC_0dcb2.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_0dcb2/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strlcat return ((int*)(&strlcat))[argc]; #else (void)argc; return 0; #endif } Determining if the _strtoi64 exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_a1d42/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_a1d42.dir/build.make CMakeFiles/cmTC_a1d42.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a1d42.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_a1d42.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: '_strtoi64' undeclared (first use in this function) 59 | return ((int*)(&_strtoi64))[argc]; | ^~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_a1d42.dir/build.make:85: CMakeFiles/cmTC_a1d42.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_a1d42/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef _strtoi64 return ((int*)(&_strtoi64))[argc]; #else (void)argc; return 0; #endif } Determining if the setmode exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_102f3/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_102f3.dir/build.make CMakeFiles/cmTC_102f3.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_102f3.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_102f3.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: error: 'setmode' undeclared (first use in this function) 59 | return ((int*)(&setmode))[argc]; | ^~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:59:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_102f3.dir/build.make:85: CMakeFiles/cmTC_102f3.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_102f3/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef setmode return ((int*)(&setmode))[argc]; #else (void)argc; return 0; #endif } Determining if the function mach_absolute_time exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_806b6/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_806b6.dir/build.make CMakeFiles/cmTC_806b6.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_806b6.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=mach_absolute_time -std=gnu11 -o CMakeFiles/cmTC_806b6.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_806b6 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_806b6.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=mach_absolute_time -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_806b6.dir/CheckFunctionExists.c.o -o cmTC_806b6 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_806b6.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_806b6.dir/build.make:106: cmTC_806b6] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_806b6/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_FSETXATTR_6 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_14223/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_14223.dir/build.make CMakeFiles/cmTC_14223.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_14223.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_FSETXATTR_6 -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_14223.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:544:3: error: too many arguments to function 'fsetxattr' 544 | fsetxattr(0, 0, 0, 0, 0, 0); | ^~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:541: /usr/include/sys/xattr.h:54:12: note: declared here 54 | extern int fsetxattr (int __fd, const char *__name, const void *__value, | ^~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_14223.dir/build.make:85: CMakeFiles/cmTC_14223.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_14223/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_IOCTLSOCKET failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_240e0/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_240e0.dir/build.make CMakeFiles/cmTC_240e0.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_240e0.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_IOCTLSOCKET -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_240e0.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:326:44: error: 'FIONBIO' undeclared (first use in this function) 326 | unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); | ^~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:326:44: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_240e0.dir/build.make:85: CMakeFiles/cmTC_240e0.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_240e0/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_IOCTLSOCKET_CAMEL failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_114df/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_114df.dir/build.make CMakeFiles/cmTC_114df.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_114df.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_IOCTLSOCKET_CAMEL -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_114df.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTC_114df /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_114df.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_IOCTLSOCKET_CAMEL -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_114df.dir/CurlTests.c.o -o cmTC_114df /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_114df.dir/CurlTests.c.o: in function `main': CurlTests.c:(.text.startup+0xd): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_114df.dir/build.make:106: cmTC_114df] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_114df/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_c7421/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_c7421.dir/build.make CMakeFiles/cmTC_c7421.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c7421.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_IOCTLSOCKET_CAMEL_FIONBIO -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_c7421.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:382:32: error: 'FIONBIO' undeclared (first use in this function) 382 | if(0 != ioctlsocket(0, FIONBIO, &flags)) | ^~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:382:32: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_c7421.dir/build.make:85: CMakeFiles/cmTC_c7421.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_c7421/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_fb910/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_fb910.dir/build.make CMakeFiles/cmTC_fb910.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fb910.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_IOCTLSOCKET_FIONBIO -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_fb910.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:409:32: error: 'FIONBIO' undeclared (first use in this function) 409 | if(0 != ioctlsocket(0, FIONBIO, &flags)) | ^~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:409:32: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_fb910.dir/build.make:85: CMakeFiles/cmTC_fb910.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_fb910/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8ae95/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8ae95.dir/build.make CMakeFiles/cmTC_8ae95.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ae95.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_SETSOCKOPT_SO_NONBLOCK -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_8ae95.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:505:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? 505 | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | ^~~~~~~~~~~ | SOCK_NONBLOCK /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:505:43: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_8ae95.dir/build.make:85: CMakeFiles/cmTC_8ae95.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8ae95/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_O_NONBLOCK failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_0f5de/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_0f5de.dir/build.make CMakeFiles/cmTC_0f5de.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0f5de.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_O_NONBLOCK -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_0f5de.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTC_0f5de /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_0f5de.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_O_NONBLOCK -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_0f5de.dir/CurlTests.c.o -o cmTC_0f5de /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/Scrt1.o: in function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_0f5de.dir/build.make:106: cmTC_0f5de] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_0f5de/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_5 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8d9f2/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8d9f2.dir/build.make CMakeFiles/cmTC_8d9f2.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8d9f2.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYADDR_R_5 -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_8d9f2.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:106:23: error: storage size of 'hdata' isn't known 106 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:127:8: error: too few arguments to function 'gethostbyaddr_r' 127 | rc = gethostbyaddr_r(address, length, type, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_8d9f2.dir/build.make:85: CMakeFiles/cmTC_8d9f2.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8d9f2/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_7 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_cbcf0/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_cbcf0.dir/build.make CMakeFiles/cmTC_cbcf0.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cbcf0.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYADDR_R_7 -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_cbcf0.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:131:8: error: too few arguments to function 'gethostbyaddr_r' 131 | hp = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_cbcf0.dir/build.make:85: CMakeFiles/cmTC_cbcf0.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_cbcf0/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_f006d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_f006d.dir/build.make CMakeFiles/cmTC_f006d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f006d.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYADDR_R_5_REENTRANT -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_f006d.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:106:23: error: storage size of 'hdata' isn't known 106 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:127:8: error: too few arguments to function 'gethostbyaddr_r' 127 | rc = gethostbyaddr_r(address, length, type, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_f006d.dir/build.make:85: CMakeFiles/cmTC_f006d.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_f006d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9139a/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9139a.dir/build.make CMakeFiles/cmTC_9139a.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9139a.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYADDR_R_7_REENTRANT -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_9139a.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:131:8: error: too few arguments to function 'gethostbyaddr_r' 131 | hp = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_9139a.dir/build.make:85: CMakeFiles/cmTC_9139a.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9139a/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_3 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_d058f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_d058f.dir/build.make CMakeFiles/cmTC_d058f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d058f.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYNAME_R_3 -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_d058f.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:106:23: error: storage size of 'hdata' isn't known 106 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:141:8: error: too few arguments to function 'gethostbyname_r' 141 | rc = gethostbyname_r(address, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_d058f.dir/build.make:85: CMakeFiles/cmTC_d058f.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_d058f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_5 failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_a086f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_a086f.dir/build.make CMakeFiles/cmTC_a086f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a086f.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYNAME_R_5 -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_a086f.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:144:8: error: too few arguments to function 'gethostbyname_r' 144 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_a086f.dir/build.make:85: CMakeFiles/cmTC_a086f.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_a086f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_36893/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_36893.dir/build.make CMakeFiles/cmTC_36893.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_36893.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYNAME_R_3_REENTRANT -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_36893.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:106:23: error: storage size of 'hdata' isn't known 106 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:141:8: error: too few arguments to function 'gethostbyname_r' 141 | rc = gethostbyname_r(address, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_36893.dir/build.make:85: CMakeFiles/cmTC_36893.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_36893/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8a831/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8a831.dir/build.make CMakeFiles/cmTC_8a831.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8a831.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GETHOSTBYNAME_R_5_REENTRANT -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_8a831.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:144:8: error: too few arguments to function 'gethostbyname_r' 144 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:93: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_8a831.dir/build.make:85: CMakeFiles/cmTC_8a831.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8a831/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_INET_NTOA_R_DECL failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_aa161/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_aa161.dir/build.make CMakeFiles/cmTC_aa161.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_aa161.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_INET_NTOA_R_DECL -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_aa161.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:244:21: error: 'inet_ntoa_r' undeclared (first use in this function); did you mean 'inet_ntoa'? 244 | func = (func_type)inet_ntoa_r; | ^~~~~~~~~~~ | inet_ntoa /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:244:21: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_aa161.dir/build.make:85: CMakeFiles/cmTC_aa161.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_aa161/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8ef13/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8ef13.dir/build.make CMakeFiles/cmTC_8ef13.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ef13.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_INET_NTOA_R_DECL_REENTRANT -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_8ef13.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:260:22: error: 'inet_ntoa_r' undeclared (first use in this function); did you mean 'inet_ntoa'? 260 | func = (func_type)&inet_ntoa_r; | ^~~~~~~~~~~ | inet_ntoa /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:260:22: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_8ef13.dir/build.make:85: CMakeFiles/cmTC_8ef13.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8ef13/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GLIBC_STRERROR_R failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9ba58/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9ba58.dir/build.make CMakeFiles/cmTC_9ba58.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9ba58.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_GLIBC_STRERROR_R -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_9ba58.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:521:51: error: subscripted value is neither array nor pointer nor vector 521 | check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); | ^ gmake[5]: *** [CMakeFiles/cmTC_9ba58.dir/build.make:85: CMakeFiles/cmTC_9ba58.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9ba58/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_BUILTIN_AVAILABLE failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_e5d7e/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_e5d7e.dir/build.make CMakeFiles/cmTC_e5d7e.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e5d7e.dir/CurlTests.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DHAVE_BUILTIN_AVAILABLE -DHAVE_STDIO_H -DHAVE_INTTYPES_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_POLL_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_UIO_H -DHAVE_SYS_UN_H -DHAVE_SYS_XATTR_H -DHAVE_ALLOCA_H -DHAVE_ARPA_INET_H -DHAVE_ARPA_TFTP_H -DHAVE_ASSERT_H -DHAVE_ERR_H -DHAVE_ERRNO_H -DHAVE_FCNTL_H -DHAVE_IDN2_H -DHAVE_IFADDRS_H -DHAVE_LIBGEN_H -DHAVE_LOCALE_H -DHAVE_NET_IF_H -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_NETINET_TCP_H -DHAVE_POLL_H -DHAVE_PWD_H -DHAVE_SETJMP_H -DHAVE_SGTTY_H -DHAVE_SIGNAL_H -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_TERMIO_H -DHAVE_TERMIOS_H -DHAVE_TIME_H -DHAVE_UNISTD_H -DHAVE_UTIME_H -DHAVE_STDDEF_H -DHAVE_DLFCN_H -DHAVE_MALLOC_H -DHAVE_MEMORY_H -DHAVE_NETINET_IF_ETHER_H -DHAVE_STDINT_H -DHAVE_SYS_UTSNAME_H -std=gnu11 -o CMakeFiles/cmTC_e5d7e.dir/CurlTests.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:568:26: error: 'macOS' undeclared (first use in this function) 568 | if(__builtin_available(macOS 10.12, *)) {} | ^~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:568:26: note: each undeclared identifier is reported only once for each function it appears in /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Utilities/cmcurl/CMake/CurlTests.c:568:31: error: expected ')' before numeric constant 568 | if(__builtin_available(macOS 10.12, *)) {} | ^~~~~~ | ) gmake[5]: *** [CMakeFiles/cmTC_e5d7e.dir/build.make:85: CMakeFiles/cmTC_e5d7e.dir/CurlTests.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_e5d7e/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the arc4random_buf exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_422a3/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_422a3.dir/build.make CMakeFiles/cmTC_422a3.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_422a3.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_422a3.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'arc4random_buf' undeclared (first use in this function) 8 | return ((int*)(&arc4random_buf))[argc]; | ^~~~~~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_422a3.dir/build.make:85: CMakeFiles/cmTC_422a3.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_422a3/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random_buf return ((int*)(&arc4random_buf))[argc]; #else (void)argc; return 0; #endif } Determining if the arc4random exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_b4919/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_b4919.dir/build.make CMakeFiles/cmTC_b4919.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b4919.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_b4919.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'arc4random' undeclared (first use in this function); did you mean 'srandom'? 8 | return ((int*)(&arc4random))[argc]; | ^~~~~~~~~~ | srandom /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_b4919.dir/build.make:85: CMakeFiles/cmTC_b4919.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_b4919/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random return ((int*)(&arc4random))[argc]; #else (void)argc; return 0; #endif } Determining if the include file sys/sysctl.h exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5870b/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5870b.dir/build.make CMakeFiles/cmTC_5870b.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5870b.dir/CheckIncludeFile.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -std=gnu11 -o CMakeFiles/cmTC_5870b.dir/CheckIncludeFile.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/sysctl.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_5870b.dir/build.make:85: CMakeFiles/cmTC_5870b.dir/CheckIncludeFile.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5870b/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if files sys/types.h;ctype.h;copyfile.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_29d35/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_29d35.dir/build.make CMakeFiles/cmTC_29d35.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_29d35.dir/HAVE_COPYFILE_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_29d35.dir/HAVE_COPYFILE_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_COPYFILE_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_COPYFILE_H.c:4:10: fatal error: copyfile.h: No such file or directory 4 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_29d35.dir/build.make:85: CMakeFiles/cmTC_29d35.dir/HAVE_COPYFILE_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_29d35/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;direct.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_69a0c/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_69a0c.dir/build.make CMakeFiles/cmTC_69a0c.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_69a0c.dir/HAVE_DIRECT_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_69a0c.dir/HAVE_DIRECT_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_DIRECT_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_DIRECT_H.c:4:10: fatal error: direct.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_69a0c.dir/build.make:85: CMakeFiles/cmTC_69a0c.dir/HAVE_DIRECT_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_69a0c/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;membership.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_42e64/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_42e64.dir/build.make CMakeFiles/cmTC_42e64.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_42e64.dir/HAVE_MEMBERSHIP_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_42e64.dir/HAVE_MEMBERSHIP_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_MEMBERSHIP_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_MEMBERSHIP_H.c:16:10: fatal error: membership.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_42e64.dir/build.make:85: CMakeFiles/cmTC_42e64.dir/HAVE_MEMBERSHIP_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_42e64/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;readpassphrase.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_198a6/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_198a6.dir/build.make CMakeFiles/cmTC_198a6.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_198a6.dir/HAVE_READPASSPHRASE_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_198a6.dir/HAVE_READPASSPHRASE_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_READPASSPHRASE_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_READPASSPHRASE_H.c:21:10: fatal error: readpassphrase.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_198a6.dir/build.make:85: CMakeFiles/cmTC_198a6.dir/HAVE_READPASSPHRASE_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_198a6/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/extattr.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5f790/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5f790.dir/build.make CMakeFiles/cmTC_5f790.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5f790.dir/HAVE_SYS_EXTATTR_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_5f790.dir/HAVE_SYS_EXTATTR_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c:30:10: fatal error: sys/extattr.h: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_5f790.dir/build.make:85: CMakeFiles/cmTC_5f790.dir/HAVE_SYS_EXTATTR_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5f790/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/mkdev.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_4f89b/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_4f89b.dir/build.make CMakeFiles/cmTC_4f89b.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4f89b.dir/HAVE_SYS_MKDEV_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_4f89b.dir/HAVE_SYS_MKDEV_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MKDEV_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MKDEV_H.c:31:10: fatal error: sys/mkdev.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_4f89b.dir/build.make:85: CMakeFiles/cmTC_4f89b.dir/HAVE_SYS_MKDEV_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_4f89b/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/mount.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_76635/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_76635.dir/build.make CMakeFiles/cmTC_76635.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_76635.dir/HAVE_SYS_MOUNT_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_76635.dir/HAVE_SYS_MOUNT_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MOUNT_H.c In file included from /usr/include/linux/fs.h:19, from /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MOUNT_H.c:13: /usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant 35 | MS_RDONLY = 1, /* Mount read-only. */ | ^~~~~~~~~ gmake[5]: *** [CMakeFiles/cmTC_76635.dir/build.make:85: CMakeFiles/cmTC_76635.dir/HAVE_SYS_MOUNT_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_76635/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/richacl.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_bfab5/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_bfab5.dir/build.make CMakeFiles/cmTC_bfab5.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bfab5.dir/HAVE_SYS_RICHACL_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_bfab5.dir/HAVE_SYS_RICHACL_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_RICHACL_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_SYS_RICHACL_H.c:33:10: fatal error: sys/richacl.h: No such file or directory 33 | #include | ^~~~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_bfab5.dir/build.make:85: CMakeFiles/cmTC_bfab5.dir/HAVE_SYS_RICHACL_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_bfab5/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/sysmacros.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h;sys/xattr.h;time.h;unistd.h;utime.h;wchar.h;wctype.h;windows.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_28c9a/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_28c9a.dir/build.make CMakeFiles/cmTC_28c9a.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_28c9a.dir/HAVE_WINDOWS_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_28c9a.dir/HAVE_WINDOWS_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:48:10: fatal error: windows.h: No such file or directory 48 | #include | ^~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_28c9a.dir/build.make:85: CMakeFiles/cmTC_28c9a.dir/HAVE_WINDOWS_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_28c9a/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/sysmacros.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h;sys/xattr.h;time.h;unistd.h;utime.h;wchar.h;wctype.h;wincrypt.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9f6e8/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9f6e8.dir/build.make CMakeFiles/cmTC_9f6e8.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9f6e8.dir/HAVE_WINCRYPT_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_9f6e8.dir/HAVE_WINCRYPT_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINCRYPT_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINCRYPT_H.c:48:10: fatal error: wincrypt.h: No such file or directory 48 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_9f6e8.dir/build.make:85: CMakeFiles/cmTC_9f6e8.dir/HAVE_WINCRYPT_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9f6e8/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pthread.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/sysmacros.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h;sys/xattr.h;time.h;unistd.h;utime.h;wchar.h;wctype.h;winioctl.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_adce3/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_adce3.dir/build.make CMakeFiles/cmTC_adce3.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_adce3.dir/HAVE_WINIOCTL_H.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_adce3.dir/HAVE_WINIOCTL_H.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINIOCTL_H.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CheckIncludeFiles/HAVE_WINIOCTL_H.c:48:10: fatal error: winioctl.h: No such file or directory 48 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_adce3.dir/build.make:85: CMakeFiles/cmTC_adce3.dir/HAVE_WINIOCTL_H.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_adce3/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if the function getvfsbyname exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_c9cb8/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_c9cb8.dir/build.make CMakeFiles/cmTC_c9cb8.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c9cb8.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=getvfsbyname -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_c9cb8.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_c9cb8 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_c9cb8.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=getvfsbyname -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_c9cb8.dir/CheckFunctionExists.c.o -o cmTC_c9cb8 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c9cb8.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getvfsbyname' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_c9cb8.dir/build.make:106: cmTC_c9cb8] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_c9cb8/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function lchflags exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_526fc/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_526fc.dir/build.make CMakeFiles/cmTC_526fc.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_526fc.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=lchflags -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_526fc.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_526fc /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_526fc.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=lchflags -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_526fc.dir/CheckFunctionExists.c.o -o cmTC_526fc /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_526fc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `lchflags' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_526fc.dir/build.make:106: cmTC_526fc] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_526fc/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function readpassphrase exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_c8227/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_c8227.dir/build.make CMakeFiles/cmTC_c8227.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c8227.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=readpassphrase -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_c8227.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_c8227 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_c8227.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=readpassphrase -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_c8227.dir/CheckFunctionExists.c.o -o cmTC_c8227 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c8227.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `readpassphrase' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_c8227.dir/build.make:106: cmTC_c8227] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_c8227/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function strncpy_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5e69d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5e69d.dir/build.make CMakeFiles/cmTC_5e69d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5e69d.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=strncpy_s -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_5e69d.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_5e69d /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_5e69d.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=strncpy_s -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_5e69d.dir/CheckFunctionExists.c.o -o cmTC_5e69d /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5e69d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strncpy_s' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_5e69d.dir/build.make:106: cmTC_5e69d] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5e69d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _ctime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8171f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8171f.dir/build.make CMakeFiles/cmTC_8171f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8171f.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_ctime64_s -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_8171f.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_8171f /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_8171f.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_ctime64_s -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_8171f.dir/CheckFunctionExists.c.o -o cmTC_8171f /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8171f.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_ctime64_s' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_8171f.dir/build.make:106: cmTC_8171f] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8171f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _fseeki64 exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_33651/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_33651.dir/build.make CMakeFiles/cmTC_33651.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_33651.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_fseeki64 -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_33651.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_33651 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_33651.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_fseeki64 -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_33651.dir/CheckFunctionExists.c.o -o cmTC_33651 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_33651.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_fseeki64' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_33651.dir/build.make:106: cmTC_33651] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_33651/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _get_timezone exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_9be9d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_9be9d.dir/build.make CMakeFiles/cmTC_9be9d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9be9d.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_get_timezone -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_9be9d.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_9be9d /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_9be9d.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_get_timezone -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_9be9d.dir/CheckFunctionExists.c.o -o cmTC_9be9d /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_9be9d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_get_timezone' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_9be9d.dir/build.make:106: cmTC_9be9d] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_9be9d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _gmtime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_b3338/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_b3338.dir/build.make CMakeFiles/cmTC_b3338.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b3338.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_gmtime64_s -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_b3338.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_b3338 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_b3338.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_gmtime64_s -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_b3338.dir/CheckFunctionExists.c.o -o cmTC_b3338 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b3338.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_gmtime64_s' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_b3338.dir/build.make:106: cmTC_b3338] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_b3338/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _localtime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_0d945/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_0d945.dir/build.make CMakeFiles/cmTC_0d945.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0d945.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_localtime64_s -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_0d945.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_0d945 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_0d945.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_localtime64_s -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_0d945.dir/CheckFunctionExists.c.o -o cmTC_0d945 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_0d945.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_localtime64_s' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_0d945.dir/build.make:106: cmTC_0d945] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_0d945/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function _mkgmtime64 exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_6eb0b/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_6eb0b.dir/build.make CMakeFiles/cmTC_6eb0b.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6eb0b.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_mkgmtime64 -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_6eb0b.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_6eb0b /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_6eb0b.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_mkgmtime64 -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_6eb0b.dir/CheckFunctionExists.c.o -o cmTC_6eb0b /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6eb0b.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_mkgmtime64' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_6eb0b.dir/build.make:106: cmTC_6eb0b] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_6eb0b/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function cygwin_conv_path exists failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_d8de3/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_d8de3.dir/build.make CMakeFiles/cmTC_d8de3.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d8de3.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=cygwin_conv_path -fno-builtin -std=gnu11 -o CMakeFiles/cmTC_d8de3.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_d8de3 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_d8de3.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=cygwin_conv_path -fno-builtin -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_d8de3.dir/CheckFunctionExists.c.o -o cmTC_d8de3 /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_d8de3.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `cygwin_conv_path' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_d8de3.dir/build.make:106: cmTC_d8de3] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_d8de3/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_STRUCT_VFSCONF failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3c0ca/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_3c0ca.dir/build.make CMakeFiles/cmTC_3c0ca.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3c0ca.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_VFSCONF -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_3c0ca.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:3:33: error: storage size of 'v' isn't known 3 | int main(void) { struct vfsconf v; return sizeof(v);} | ^ gmake[5]: *** [CMakeFiles/cmTC_3c0ca.dir/build.make:85: CMakeFiles/cmTC_3c0ca.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_3c0ca/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main(void) { struct vfsconf v; return sizeof(v);} Performing C SOURCE FILE Test HAVE_STRUCT_XVFSCONF failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5ee8d/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_5ee8d.dir/build.make CMakeFiles/cmTC_5ee8d.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ee8d.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_XVFSCONF -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_5ee8d.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:3:34: error: storage size of 'v' isn't known 3 | int main(void) { struct xvfsconf v; return sizeof(v);} | ^ gmake[5]: *** [CMakeFiles/cmTC_5ee8d.dir/build.make:85: CMakeFiles/cmTC_5ee8d.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_5ee8d/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main(void) { struct xvfsconf v; return sizeof(v);} Performing C SOURCE FILE Test MAJOR_IN_MKDEV failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_61b6f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_61b6f.dir/build.make CMakeFiles/cmTC_61b6f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_61b6f.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DMAJOR_IN_MKDEV -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_61b6f.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/mkdev.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~ compilation terminated. gmake[5]: *** [CMakeFiles/cmTC_61b6f.dir/build.make:85: CMakeFiles/cmTC_61b6f.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_61b6f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include int main() { return major(256); } Performing C SOURCE FILE Test HAVE_LZMA_STREAM_ENCODER_MT failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_711ae/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_711ae.dir/build.make CMakeFiles/cmTC_711ae.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_711ae.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_LZMA_STREAM_ENCODER_MT -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_711ae.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_711ae /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_711ae.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_711ae.dir/src.c.o -o cmTC_711ae /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_711ae.dir/src.c.o: in function `main': src.c:(.text.startup+0x9): undefined reference to `lzma_stream_encoder_mt' collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_711ae.dir/build.make:106: cmTC_711ae] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_711ae/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #if LZMA_VERSION < 50020000 #error unsupported #endif int main(void){lzma_stream_encoder_mt(0, 0); return 0;} Determining if the EFTYPE exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_62b97/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_62b97.dir/build.make CMakeFiles/cmTC_62b97.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_62b97.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_62b97.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'EFTYPE' undeclared (first use in this function) 8 | return ((int*)(&EFTYPE))[argc]; | ^~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_62b97.dir/build.make:85: CMakeFiles/cmTC_62b97.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_62b97/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef EFTYPE return ((int*)(&EFTYPE))[argc]; #else (void)argc; return 0; #endif } Determining if the D_MD_ORDER exist failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3e934/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_3e934.dir/build.make CMakeFiles/cmTC_3e934.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e934.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_3e934.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'D_MD_ORDER' undeclared (first use in this function) 8 | return ((int*)(&D_MD_ORDER))[argc]; | ^~~~~~~~~~ /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[5]: *** [CMakeFiles/cmTC_3e934.dir/build.make:85: CMakeFiles/cmTC_3e934.dir/CheckSymbolExists.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_3e934/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' File /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef D_MD_ORDER return ((int*)(&D_MD_ORDER))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test HAVE_STRUCT_TM___TM_GMTOFF failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_68b0f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_68b0f.dir/build.make CMakeFiles/cmTC_68b0f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_68b0f.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_TM___TM_GMTOFF -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_68b0f.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:6:34: error: 'struct tm' has no member named '__tm_gmtoff'; did you mean 'tm_gmtoff'? 6 | (void)sizeof(((struct tm *)0)->__tm_gmtoff); | ^~~~~~~~~~~ | tm_gmtoff gmake[5]: *** [CMakeFiles/cmTC_68b0f.dir/build.make:85: CMakeFiles/cmTC_68b0f.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_68b0f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include int main() { (void)sizeof(((struct tm *)0)->__tm_gmtoff); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STATFS_F_NAMEMAX failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_80016/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_80016.dir/build.make CMakeFiles/cmTC_80016.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_80016.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STATFS_F_NAMEMAX -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_80016.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:36: error: dereferencing pointer to incomplete type 'struct statfs' 7 | (void)sizeof(((struct statfs *)0)->f_namemax); | ^~ gmake[5]: *** [CMakeFiles/cmTC_80016.dir/build.make:85: CMakeFiles/cmTC_80016.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_80016/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct statfs *)0)->f_namemax); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_BIRTHTIME failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_0f91b/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_0f91b.dir/build.make CMakeFiles/cmTC_0f91b.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0f91b.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_BIRTHTIME -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_0f91b.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_birthtime' 7 | (void)sizeof(((struct stat *)0)->st_birthtime); | ^~ gmake[5]: *** [CMakeFiles/cmTC_0f91b.dir/build.make:85: CMakeFiles/cmTC_0f91b.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_0f91b/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_birthtime); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_e8ff7/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_e8ff7.dir/build.make CMakeFiles/cmTC_e8ff7.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e8ff7.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_e8ff7.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_birthtimespec' 7 | (void)sizeof(((struct stat *)0)->st_birthtimespec.tv_nsec); | ^~ gmake[5]: *** [CMakeFiles/cmTC_e8ff7.dir/build.make:85: CMakeFiles/cmTC_e8ff7.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_e8ff7/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_birthtimespec.tv_nsec); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_81636/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_81636.dir/build.make CMakeFiles/cmTC_81636.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81636.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_81636.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_mtimespec' 7 | (void)sizeof(((struct stat *)0)->st_mtimespec.tv_nsec); | ^~ gmake[5]: *** [CMakeFiles/cmTC_81636.dir/build.make:85: CMakeFiles/cmTC_81636.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_81636/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_mtimespec.tv_nsec); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIME_N failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_b8ebd/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_b8ebd.dir/build.make CMakeFiles/cmTC_b8ebd.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b8ebd.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIME_N -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_b8ebd.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:36: error: 'struct stat' has no member named 'st_mtime_n'; did you mean 'st_mtim'? 7 | (void)sizeof(((struct stat *)0)->st_mtime_n); | ^~~~~~~~~~ | st_mtim gmake[5]: *** [CMakeFiles/cmTC_b8ebd.dir/build.make:85: CMakeFiles/cmTC_b8ebd.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_b8ebd/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_mtime_n); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_UMTIME failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_bedb4/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_bedb4.dir/build.make CMakeFiles/cmTC_bedb4.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bedb4.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_UMTIME -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_bedb4.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:36: error: 'struct stat' has no member named 'st_umtime'; did you mean 'st_mtim'? 7 | (void)sizeof(((struct stat *)0)->st_umtime); | ^~~~~~~~~ | st_mtim gmake[5]: *** [CMakeFiles/cmTC_bedb4.dir/build.make:85: CMakeFiles/cmTC_bedb4.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_bedb4/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_umtime); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIME_USEC failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_91973/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_91973.dir/build.make CMakeFiles/cmTC_91973.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_91973.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIME_USEC -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_91973.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_mtime_usec' 7 | (void)sizeof(((struct stat *)0)->st_mtime_usec); | ^~ gmake[5]: *** [CMakeFiles/cmTC_91973.dir/build.make:85: CMakeFiles/cmTC_91973.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_91973/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_mtime_usec); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_FLAGS failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8ba2f/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8ba2f.dir/build.make CMakeFiles/cmTC_8ba2f.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ba2f.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_FLAGS -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8ba2f.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_flags' 7 | (void)sizeof(((struct stat *)0)->st_flags); | ^~ gmake[5]: *** [CMakeFiles/cmTC_8ba2f.dir/build.make:85: CMakeFiles/cmTC_8ba2f.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_8ba2f/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct stat *)0)->st_flags); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STATVFS_F_IOSIZE failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_101c9/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_101c9.dir/build.make CMakeFiles/cmTC_101c9.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_101c9.dir/src.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -DHAVE_STRUCT_STATVFS_F_IOSIZE -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_101c9.dir/src.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp/src.c:7:39: error: 'struct statvfs' has no member named 'f_iosize'; did you mean 'f_bsize'? 7 | (void)sizeof(((struct statvfs *)0)->f_iosize); | ^~~~~~~~ | f_bsize gmake[5]: *** [CMakeFiles/cmTC_101c9.dir/build.make:85: CMakeFiles/cmTC_101c9.dir/src.c.o] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_101c9/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((struct statvfs *)0)->f_iosize); return 0; } Determining if the function cbreak exists in the /usr/lib64/libncurses.so failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3863e/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_3863e.dir/build.make CMakeFiles/cmTC_3863e.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3863e.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=cbreak -std=gnu11 -o CMakeFiles/cmTC_3863e.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_3863e /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_3863e.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=cbreak -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_3863e.dir/CheckFunctionExists.c.o -o cmTC_3863e -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3863e.dir/CheckFunctionExists.c.o: undefined reference to symbol 'cbreak' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_3863e.dir/build.make:107: cmTC_3863e] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_3863e/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Determining if the function nodelay exists in the /usr/lib64/libncurses.so failed with the following output: Change Dir: /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3d523/fast && gmake[4]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_3d523.dir/build.make CMakeFiles/cmTC_3d523.dir/build gmake[5]: Entering directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3d523.dir/CheckFunctionExists.c.o /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=nodelay -std=gnu11 -o CMakeFiles/cmTC_3d523.dir/CheckFunctionExists.c.o -c /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Modules/CheckFunctionExists.c Linking C executable cmTC_3d523 /mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_3d523.dir/link.txt --verbose=1 /mnt/gold/openwrt/trunk/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/trunk/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=nodelay -L/mnt/gold/openwrt/trunk/staging_dir/host/lib CMakeFiles/cmTC_3d523.dir/CheckFunctionExists.c.o -o cmTC_3d523 -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3d523.dir/CheckFunctionExists.c.o: undefined reference to symbol 'nodelay' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake[5]: *** [CMakeFiles/cmTC_3d523.dir/build.make:107: cmTC_3d523] Error 1 gmake[5]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp' gmake[4]: *** [Makefile:140: cmTC_3d523/fast] Error 2 gmake[4]: Leaving directory '/mnt/gold/openwrt/trunk/build_dir/host/cmake-3.19.1/CMakeFiles/CMakeTmp'