Determining if the environ exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_1e12b && [1/2] Building C object CMakeFiles/cmTC_1e12b.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_1e12b.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -std=gnu11 -o CMakeFiles/cmTC_1e12b.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'environ' undeclared (first use in this function) 8 | return ((int*)(&environ))[argc]; | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 } Checking whether CXX compiler has environ in stdlib.h failed to compile with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_3a26e && [1/2] Building CXX object CMakeFiles/cmTC_3a26e.dir/kwsysPlatformTestsCXX.cxx.o FAILED: CMakeFiles/cmTC_3a26e.dir/kwsysPlatformTestsCXX.cxx.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/g++ -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -o CMakeFiles/cmTC_3a26e.dir/kwsysPlatformTestsCXX.cxx.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx:53:13: error: 'environ' was not declared in this scope; did you mean 'union'? 53 | char* e = environ[0]; | ^~~~~~~ | union ninja: build stopped: subcommand failed. Checking whether CXX compiler struct stat has st_mtimespec member failed to compile with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_24cd4 && [1/2] Building CXX object CMakeFiles/cmTC_24cd4.dir/kwsysPlatformTestsCXX.cxx.o FAILED: CMakeFiles/cmTC_24cd4.dir/kwsysPlatformTestsCXX.cxx.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/g++ -DTEST_KWSYS_CXX_STAT_HAS_ST_MTIMESPEC -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -o CMakeFiles/cmTC_24cd4.dir/kwsysPlatformTestsCXX.cxx.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/Source/kwsys/kwsysPlatformTestsCXX.cxx:27:15: error: 'struct stat' has no member named 'st_mtimespec' 27 | (void)stat1.st_mtimespec.tv_nsec; | ^~~~~~~~~~~~ ninja: build stopped: subcommand failed. Determining if the function connect exists in the socket;dl failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_5412d && [1/2] Building C object CMakeFiles/cmTC_5412d.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_5412d FAILED: cmTC_5412d : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=connect -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_5412d.dir/CheckFunctionExists.c.o -o cmTC_5412d -lsocket -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function recv exists in the network;dl failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_2631a && [1/2] Building C object CMakeFiles/cmTC_2631a.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_2631a FAILED: cmTC_2631a : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=recv -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_2631a.dir/CheckFunctionExists.c.o -o cmTC_2631a -lnetwork -ldl && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnetwork: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the RAND_status exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_464a5 && [1/2] Building C object CMakeFiles/cmTC_464a5.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_464a5.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_464a5.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_status' undeclared (first use in this function) 7 | return ((int*)(&RAND_status))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_49c8c && [1/2] Building C object CMakeFiles/cmTC_49c8c.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_49c8c.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_49c8c.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_screen' undeclared (first use in this function) 7 | return ((int*)(&RAND_screen))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_13f0b && [1/2] Building C object CMakeFiles/cmTC_13f0b.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_13f0b.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_13f0b.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: error: 'RAND_egd' undeclared (first use in this function) 7 | return ((int*)(&RAND_egd))[argc]; | ^~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:7:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 dlopen exists in the dl;/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libssl.a;/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libcrypto.a;dl;rt;pthread;cmnghttp2 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_fbb0c && [1/2] Building C object CMakeFiles/cmTC_fbb0c.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_fbb0c FAILED: cmTC_fbb0c : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=dlopen -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_fbb0c.dir/CheckFunctionExists.c.o -o cmTC_fbb0c -ldl /mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libcrypto.a -ldl -lrt -lpthread -lcmnghttp2 /mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libssl.a /mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib/libcrypto.a -lrt -lpthread -lcmnghttp2 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2: No such file or directory /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmnghttp2: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if files stdio.h;inttypes.h;sys/filio.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_c82ce && [1/2] Building C object CMakeFiles/cmTC_c82ce.dir/HAVE_SYS_FILIO_H.c.o FAILED: CMakeFiles/cmTC_c82ce.dir/HAVE_SYS_FILIO_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_c82ce.dir/HAVE_SYS_FILIO_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_FILIO_H.c:4:10: fatal error: sys/filio.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_01ca0 && [1/2] Building C object CMakeFiles/cmTC_01ca0.dir/HAVE_SYS_SOCKIO_H.c.o FAILED: CMakeFiles/cmTC_01ca0.dir/HAVE_SYS_SOCKIO_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_01ca0.dir/HAVE_SYS_SOCKIO_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_SOCKIO_H.c:10:10: fatal error: sys/sockio.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_27f2d && [1/2] Building C object CMakeFiles/cmTC_27f2d.dir/HAVE_SYS_UTIME_H.c.o FAILED: CMakeFiles/cmTC_27f2d.dir/HAVE_SYS_UTIME_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_27f2d.dir/HAVE_SYS_UTIME_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_UTIME_H.c:15:10: fatal error: sys/utime.h: No such file or directory 15 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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;errno.h;fcntl.h;idn2.h;ifaddrs.h;io.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_67995 && [1/2] Building C object CMakeFiles/cmTC_67995.dir/HAVE_IO_H.c.o FAILED: CMakeFiles/cmTC_67995.dir/HAVE_IO_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_67995.dir/HAVE_IO_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_IO_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_IO_H.c:24:10: fatal error: io.h: No such file or directory 24 | #include | ^~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #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;errno.h;fcntl.h;idn2.h;ifaddrs.h;krb.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8e848 && [1/2] Building C object CMakeFiles/cmTC_8e848.dir/HAVE_KRB_H.c.o FAILED: CMakeFiles/cmTC_8e848.dir/HAVE_KRB_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8e848.dir/HAVE_KRB_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_KRB_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_KRB_H.c:24:10: fatal error: krb.h: No such file or directory 24 | #include | ^~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8f6e7 && [1/2] Building C object CMakeFiles/cmTC_8f6e7.dir/HAVE_PEM_H.c.o FAILED: CMakeFiles/cmTC_8f6e7.dir/HAVE_PEM_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8f6e7.dir/HAVE_PEM_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_PEM_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_PEM_H.c:30:10: fatal error: pem.h: No such file or directory 30 | #include | ^~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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;signal.h;ssl.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_97fdf && [1/2] Building C object CMakeFiles/cmTC_97fdf.dir/HAVE_SSL_H.c.o FAILED: CMakeFiles/cmTC_97fdf.dir/HAVE_SSL_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_97fdf.dir/HAVE_SSL_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SSL_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SSL_H.c:34:10: fatal error: ssl.h: No such file or directory 34 | #include | ^~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_afa51 && [1/2] Building C object CMakeFiles/cmTC_afa51.dir/HAVE_STROPTS_H.c.o FAILED: CMakeFiles/cmTC_afa51.dir/HAVE_STROPTS_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_afa51.dir/HAVE_STROPTS_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_STROPTS_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_STROPTS_H.c:40:10: fatal error: stropts.h: No such file or directory 40 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_59872 && [1/2] Building C object CMakeFiles/cmTC_59872.dir/HAVE_X509_H.c.o FAILED: CMakeFiles/cmTC_59872.dir/HAVE_X509_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_59872.dir/HAVE_X509_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_X509_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_X509_H.c:45:10: fatal error: x509.h: No such file or directory 45 | #include | ^~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_adc40 && [1/2] Building C object CMakeFiles/cmTC_adc40.dir/HAVE_PROCESS_H.c.o FAILED: CMakeFiles/cmTC_adc40.dir/HAVE_PROCESS_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_adc40.dir/HAVE_PROCESS_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_PROCESS_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_PROCESS_H.c:45:10: fatal error: process.h: No such file or directory 45 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_ff8af && [1/2] Building C object CMakeFiles/cmTC_ff8af.dir/HAVE_SOCKIO_H.c.o FAILED: CMakeFiles/cmTC_ff8af.dir/HAVE_SOCKIO_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_ff8af.dir/HAVE_SOCKIO_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SOCKIO_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SOCKIO_H.c:51:10: fatal error: sockio.h: No such file or directory 51 | #include | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 int main(void){return 0;} Determining if the stricmp exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8c4a8 && [1/2] Building C object CMakeFiles/cmTC_8c4a8.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_8c4a8.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8c4a8.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'stricmp' undeclared (first use in this function); did you mean 'strncmp'? 57 | return ((int*)(&stricmp))[argc]; | ^~~~~~~ | strncmp /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_11f2a && [1/2] Building C object CMakeFiles/cmTC_11f2a.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_11f2a.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_11f2a.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'strcmpi' undeclared (first use in this function); did you mean 'strcmp'? 57 | return ((int*)(&strcmpi))[argc]; | ^~~~~~~ | strcmp /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_c4b8e && [1/2] Building C object CMakeFiles/cmTC_c4b8e.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_c4b8e.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_c4b8e.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'strncmpi' undeclared (first use in this function); did you mean 'strncmp'? 57 | return ((int*)(&strncmpi))[argc]; | ^~~~~~~~ | strncmp /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 int main(int argc, char** argv) { (void)argv; #ifndef strncmpi return ((int*)(&strncmpi))[argc]; #else (void)argc; return 0; #endif } Determining if the closesocket exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_18e9d && [1/2] Building C object CMakeFiles/cmTC_18e9d.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_18e9d.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_18e9d.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'closesocket' undeclared (first use in this function) 57 | return ((int*)(&closesocket))[argc]; | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_9c1c7 && [1/2] Building C object CMakeFiles/cmTC_9c1c7.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_9c1c7.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_9c1c7.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'getpass_r' undeclared (first use in this function); did you mean 'getpass'? 57 | return ((int*)(&getpass_r))[argc]; | ^~~~~~~~~ | getpass /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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 _strtoi64 exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8362e && [1/2] Building C object CMakeFiles/cmTC_8362e.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_8362e.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8362e.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: '_strtoi64' undeclared (first use in this function) 57 | return ((int*)(&_strtoi64))[argc]; | ^~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8ad62 && [1/2] Building C object CMakeFiles/cmTC_8ad62.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_8ad62.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8ad62.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: error: 'setmode' undeclared (first use in this function) 57 | return ((int*)(&setmode))[argc]; | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:57:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_17cdc && [1/2] Building C object CMakeFiles/cmTC_17cdc.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_17cdc FAILED: cmTC_17cdc : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=mach_absolute_time -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_17cdc.dir/CheckFunctionExists.c.o -o cmTC_17cdc && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_17cdc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing Curl Test HAVE_FSETXATTR_6 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_0cb48 && [1/2] Building C object CMakeFiles/cmTC_0cb48.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_0cb48.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_0cb48.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:463:3: error: too many arguments to function 'fsetxattr' 463 | fsetxattr(0, 0, 0, 0, 0, 0); | ^~~~~~~~~ In file included from /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:460: /usr/include/sys/xattr.h:54:12: note: declared here 54 | extern int fsetxattr (int __fd, const char *__name, const void *__value, | ^~~~~~~~~ ninja: build stopped: subcommand failed. Determining size of ADDRESS_FAMILY failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_6cc6f && [1/2] Building C object CMakeFiles/cmTC_6cc6f.dir/SIZEOF_ADDRESS_FAMILY.c.o FAILED: CMakeFiles/cmTC_6cc6f.dir/SIZEOF_ADDRESS_FAMILY.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_6cc6f.dir/SIZEOF_ADDRESS_FAMILY.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckTypeSize/SIZEOF_ADDRESS_FAMILY.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckTypeSize/SIZEOF_ADDRESS_FAMILY.c:4:10: fatal error: ws2def.h: No such file or directory 4 | #include "ws2def.h" | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckTypeSize/SIZEOF_ADDRESS_FAMILY.c: #include #include #include #include "ws2def.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(ADDRESS_FAMILY)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Performing Curl Test HAVE_IOCTLSOCKET failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_7cdbe && [1/2] Building C object CMakeFiles/cmTC_7cdbe.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_7cdbe.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_7cdbe.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:245:24: error: implicit declaration of function 'ioctlsocket' [-Wimplicit-function-declaration] 245 | unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:245:44: error: 'FIONBIO' undeclared (first use in this function) 245 | unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:245:44: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. Performing Curl Test HAVE_IOCTLSOCKET_CAMEL failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_99f08 && [1/2] Building C object CMakeFiles/cmTC_99f08.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_99f08.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_99f08.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:273:13: error: implicit declaration of function 'IoctlSocket' [-Wimplicit-function-declaration] 273 | if(0 != IoctlSocket(0, 0, 0)) | ^~~~~~~~~~~ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_c47a7 && [1/2] Building C object CMakeFiles/cmTC_c47a7.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_c47a7.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_c47a7.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:301:17: error: implicit declaration of function 'IoctlSocket' [-Wimplicit-function-declaration] 301 | if(0 != IoctlSocket(0, FIONBIO, &flags)) | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:301:32: error: 'FIONBIO' undeclared (first use in this function) 301 | if(0 != IoctlSocket(0, FIONBIO, &flags)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:301:32: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_e86f9 && [1/2] Building C object CMakeFiles/cmTC_e86f9.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_e86f9.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_e86f9.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:328:17: error: implicit declaration of function 'ioctlsocket' [-Wimplicit-function-declaration] 328 | if(0 != ioctlsocket(0, FIONBIO, &flags)) | ^~~~~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:328:32: error: 'FIONBIO' undeclared (first use in this function) 328 | if(0 != ioctlsocket(0, FIONBIO, &flags)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:328:32: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_0f1f1 && [1/2] Building C object CMakeFiles/cmTC_0f1f1.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_0f1f1.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_0f1f1.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:424:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? 424 | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | ^~~~~~~~~~~ | SOCK_NONBLOCK /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:424:43: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. Performing Curl Test HAVE_O_NONBLOCK failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_53cf9 && [1/2] Building C object CMakeFiles/cmTC_53cf9.dir/CurlTests.c.o [2/2] Linking C executable cmTC_53cf9 FAILED: cmTC_53cf9 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_53cf9.dir/CurlTests.c.o -o cmTC_53cf9 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib64/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing Curl Test HAVE_GETHOSTBYNAME_R_3 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_6d858 && [1/2] Building C object CMakeFiles/cmTC_6d858.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_6d858.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_6d858.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:97:23: error: storage size of 'hdata' isn't known 97 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:109:8: error: too few arguments to function 'gethostbyname_r' 109 | rc = gethostbyname_r(address, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:87: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_GETHOSTBYNAME_R_5 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_43def && [1/2] Building C object CMakeFiles/cmTC_43def.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_43def.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_43def.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:112:51: error: passing argument 5 of 'gethostbyname_r' from incompatible pointer type [-Wincompatible-pointer-types] 112 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~ | | | int * In file included from /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:87: /usr/include/netdb.h:180:57: note: expected 'struct hostent ** restrict' but argument is of type 'int *' 180 | struct hostent **__restrict __result, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:112:8: error: too few arguments to function 'gethostbyname_r' 112 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_842e8 && [1/2] Building C object CMakeFiles/cmTC_842e8.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_842e8.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_842e8.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:97:23: error: storage size of 'hdata' isn't known 97 | struct hostent_data hdata; | ^~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:109:8: error: too few arguments to function 'gethostbyname_r' 109 | rc = gethostbyname_r(address, &h, &hdata); | ^~~~~~~~~~~~~~~ In file included from /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:87: /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_479b9 && [1/2] Building C object CMakeFiles/cmTC_479b9.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_479b9.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_479b9.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:112:51: error: passing argument 5 of 'gethostbyname_r' from incompatible pointer type [-Wincompatible-pointer-types] 112 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~ | | | int * In file included from /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:87: /usr/include/netdb.h:180:57: note: expected 'struct hostent ** restrict' but argument is of type 'int *' 180 | struct hostent **__restrict __result, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:112:8: error: too few arguments to function 'gethostbyname_r' 112 | rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); | ^~~~~~~~~~~~~~~ /usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_GLIBC_STRERROR_R failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d54cf && [1/2] Building C object CMakeFiles/cmTC_d54cf.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_d54cf.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_d54cf.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:440:51: error: subscripted value is neither array nor pointer nor vector 440 | check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); | ^ ninja: build stopped: subcommand failed. Performing Curl Test HAVE_BUILTIN_AVAILABLE failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_5d177 && [1/2] Building C object CMakeFiles/cmTC_5d177.dir/CurlTests.c.o FAILED: CMakeFiles/cmTC_5d177.dir/CurlTests.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/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_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_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_5d177.dir/CurlTests.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:487:6: error: implicit declaration of function '__builtin_available'; did you mean '__builtin_scalbl'? [-Wimplicit-function-declaration] 487 | if(__builtin_available(macOS 10.12, *)) {} | ^~~~~~~~~~~~~~~~~~~ | __builtin_scalbl /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:487:26: error: 'macOS' undeclared (first use in this function) 487 | if(__builtin_available(macOS 10.12, *)) {} | ^~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:487:26: note: each undeclared identifier is reported only once for each function it appears in /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Utilities/cmcurl/CMake/CurlTests.c:487:31: error: expected ')' before numeric constant 487 | if(__builtin_available(macOS 10.12, *)) {} | ~ ^~~~~~ | ) ninja: build stopped: subcommand failed. Determining if files sys/types.h;ctype.h;copyfile.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_336c6 && [1/2] Building C object CMakeFiles/cmTC_336c6.dir/HAVE_COPYFILE_H.c.o FAILED: CMakeFiles/cmTC_336c6.dir/HAVE_COPYFILE_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_336c6.dir/HAVE_COPYFILE_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_COPYFILE_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_COPYFILE_H.c:4:10: fatal error: copyfile.h: No such file or directory 4 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_1eb0d && [1/2] Building C object CMakeFiles/cmTC_1eb0d.dir/HAVE_DIRECT_H.c.o FAILED: CMakeFiles/cmTC_1eb0d.dir/HAVE_DIRECT_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_1eb0d.dir/HAVE_DIRECT_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_DIRECT_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_DIRECT_H.c:4:10: fatal error: direct.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d8dae && [1/2] Building C object CMakeFiles/cmTC_d8dae.dir/HAVE_MEMBERSHIP_H.c.o FAILED: CMakeFiles/cmTC_d8dae.dir/HAVE_MEMBERSHIP_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_d8dae.dir/HAVE_MEMBERSHIP_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_MEMBERSHIP_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_MEMBERSHIP_H.c:16:10: fatal error: membership.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d655d && [1/2] Building C object CMakeFiles/cmTC_d655d.dir/HAVE_READPASSPHRASE_H.c.o FAILED: CMakeFiles/cmTC_d655d.dir/HAVE_READPASSPHRASE_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_d655d.dir/HAVE_READPASSPHRASE_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_READPASSPHRASE_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_READPASSPHRASE_H.c:21:10: fatal error: readpassphrase.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_b901a && [1/2] Building C object CMakeFiles/cmTC_b901a.dir/HAVE_SYS_EXTATTR_H.c.o FAILED: CMakeFiles/cmTC_b901a.dir/HAVE_SYS_EXTATTR_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_b901a.dir/HAVE_SYS_EXTATTR_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c:30:10: fatal error: sys/extattr.h: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_b7ac5 && [1/2] Building C object CMakeFiles/cmTC_b7ac5.dir/HAVE_SYS_MKDEV_H.c.o FAILED: CMakeFiles/cmTC_b7ac5.dir/HAVE_SYS_MKDEV_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_b7ac5.dir/HAVE_SYS_MKDEV_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MKDEV_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_MKDEV_H.c:31:10: fatal error: sys/mkdev.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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;sys/param.h;sys/poll.h;sys/richacl.h exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_f410f && [1/2] Building C object CMakeFiles/cmTC_f410f.dir/HAVE_SYS_RICHACL_H.c.o FAILED: CMakeFiles/cmTC_f410f.dir/HAVE_SYS_RICHACL_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_f410f.dir/HAVE_SYS_RICHACL_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_RICHACL_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_SYS_RICHACL_H.c:34:10: fatal error: sys/richacl.h: No such file or directory 34 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_f9b8b && [1/2] Building C object CMakeFiles/cmTC_f9b8b.dir/HAVE_WINDOWS_H.c.o FAILED: CMakeFiles/cmTC_f9b8b.dir/HAVE_WINDOWS_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_f9b8b.dir/HAVE_WINDOWS_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:49:10: fatal error: windows.h: No such file or directory 49 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_6bf8d && [1/2] Building C object CMakeFiles/cmTC_6bf8d.dir/HAVE_WINCRYPT_H.c.o FAILED: CMakeFiles/cmTC_6bf8d.dir/HAVE_WINCRYPT_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_6bf8d.dir/HAVE_WINCRYPT_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINCRYPT_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINCRYPT_H.c:49:10: fatal error: wincrypt.h: No such file or directory 49 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 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;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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_081a8 && [1/2] Building C object CMakeFiles/cmTC_081a8.dir/HAVE_WINIOCTL_H.c.o FAILED: CMakeFiles/cmTC_081a8.dir/HAVE_WINIOCTL_H.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_081a8.dir/HAVE_WINIOCTL_H.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINIOCTL_H.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CheckIncludeFiles/HAVE_WINIOCTL_H.c:49:10: fatal error: winioctl.h: No such file or directory 49 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. 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 int main(void){return 0;} Determining if the function getvfsbyname exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d6e3f && [1/2] Building C object CMakeFiles/cmTC_d6e3f.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_d6e3f FAILED: cmTC_d6e3f : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=getvfsbyname -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_d6e3f.dir/CheckFunctionExists.c.o -o cmTC_d6e3f && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_d6e3f.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `getvfsbyname' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function lchflags exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_ed10a && [1/2] Building C object CMakeFiles/cmTC_ed10a.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_ed10a FAILED: cmTC_ed10a : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=lchflags -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_ed10a.dir/CheckFunctionExists.c.o -o cmTC_ed10a && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ed10a.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `lchflags' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function readpassphrase exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_3b8b8 && [1/2] Building C object CMakeFiles/cmTC_3b8b8.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_3b8b8 FAILED: cmTC_3b8b8 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=readpassphrase -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_3b8b8.dir/CheckFunctionExists.c.o -o cmTC_3b8b8 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3b8b8.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `readpassphrase' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function strncpy_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_a41c9 && [1/2] Building C object CMakeFiles/cmTC_a41c9.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_a41c9 FAILED: cmTC_a41c9 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=strncpy_s -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_a41c9.dir/CheckFunctionExists.c.o -o cmTC_a41c9 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_a41c9.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `strncpy_s' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _ctime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d7299 && [1/2] Building C object CMakeFiles/cmTC_d7299.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_d7299 FAILED: cmTC_d7299 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_ctime64_s -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_d7299.dir/CheckFunctionExists.c.o -o cmTC_d7299 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_d7299.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_ctime64_s' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _fseeki64 exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_023fc && [1/2] Building C object CMakeFiles/cmTC_023fc.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_023fc FAILED: cmTC_023fc : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_fseeki64 -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_023fc.dir/CheckFunctionExists.c.o -o cmTC_023fc && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_023fc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_fseeki64' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _get_timezone exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_b7858 && [1/2] Building C object CMakeFiles/cmTC_b7858.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_b7858 FAILED: cmTC_b7858 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_get_timezone -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_b7858.dir/CheckFunctionExists.c.o -o cmTC_b7858 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b7858.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_get_timezone' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _gmtime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_c8b6d && [1/2] Building C object CMakeFiles/cmTC_c8b6d.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_c8b6d FAILED: cmTC_c8b6d : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_gmtime64_s -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_c8b6d.dir/CheckFunctionExists.c.o -o cmTC_c8b6d && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c8b6d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_gmtime64_s' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _localtime64_s exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_73323 && [1/2] Building C object CMakeFiles/cmTC_73323.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_73323 FAILED: cmTC_73323 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_localtime64_s -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_73323.dir/CheckFunctionExists.c.o -o cmTC_73323 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_73323.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_localtime64_s' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _mkgmtime64 exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_dda77 && [1/2] Building C object CMakeFiles/cmTC_dda77.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_dda77 FAILED: cmTC_dda77 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=_mkgmtime64 -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_dda77.dir/CheckFunctionExists.c.o -o cmTC_dda77 && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_dda77.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `_mkgmtime64' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function cygwin_conv_path exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_85b9d && [1/2] Building C object CMakeFiles/cmTC_85b9d.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_85b9d FAILED: cmTC_85b9d : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -DCHECK_FUNCTION_EXISTS=cygwin_conv_path -fno-builtin -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_85b9d.dir/CheckFunctionExists.c.o -o cmTC_85b9d && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_85b9d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x10): undefined reference to `cygwin_conv_path' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C SOURCE FILE Test HAVE_STRUCT_VFSCONF failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8dea9 && [1/2] Building C object CMakeFiles/cmTC_8dea9.dir/src.c.o FAILED: CMakeFiles/cmTC_8dea9.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_VFSCONF -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8dea9.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:3:33: error: storage size of 'v' isn't known 3 | int main(void) { struct vfsconf v; return sizeof(v);} | ^ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_81f5d && [1/2] Building C object CMakeFiles/cmTC_81f5d.dir/src.c.o FAILED: CMakeFiles/cmTC_81f5d.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_XVFSCONF -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_81f5d.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:3:34: error: storage size of 'v' isn't known 3 | int main(void) { struct xvfsconf v; return sizeof(v);} | ^ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_77428 && [1/2] Building C object CMakeFiles/cmTC_77428.dir/src.c.o FAILED: CMakeFiles/cmTC_77428.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DMAJOR_IN_MKDEV -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_77428.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/mkdev.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source file was: #include int main() { return major(256); } Determining if the EFTYPE exist failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_25036 && [1/2] Building C object CMakeFiles/cmTC_25036.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_25036.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_25036.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'EFTYPE' undeclared (first use in this function) 8 | return ((int*)(&EFTYPE))[argc]; | ^~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_9db1a && [1/2] Building C object CMakeFiles/cmTC_9db1a.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_9db1a.dir/CheckSymbolExists.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_9db1a.dir/CheckSymbolExists.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_55dde && [1/2] Building C object CMakeFiles/cmTC_55dde.dir/src.c.o FAILED: CMakeFiles/cmTC_55dde.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_TM___TM_GMTOFF -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_55dde.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8c833 && [1/2] Building C object CMakeFiles/cmTC_8c833.dir/src.c.o FAILED: CMakeFiles/cmTC_8c833.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STATFS_F_NAMEMAX -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_8c833.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:7:36: error: invalid use of undefined type 'struct statfs' 7 | (void)sizeof(((struct statfs *)0)->f_namemax); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_3c516 && [1/2] Building C object CMakeFiles/cmTC_3c516.dir/src.c.o FAILED: CMakeFiles/cmTC_3c516.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_BIRTHTIME -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_3c516.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_birthtime' 7 | (void)sizeof(((struct stat *)0)->st_birthtime); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_631f3 && [1/2] Building C object CMakeFiles/cmTC_631f3.dir/src.c.o FAILED: CMakeFiles/cmTC_631f3.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_631f3.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_4c536 && [1/2] Building C object CMakeFiles/cmTC_4c536.dir/src.c.o FAILED: CMakeFiles/cmTC_4c536.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_4c536.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_f3f86 && [1/2] Building C object CMakeFiles/cmTC_f3f86.dir/src.c.o FAILED: CMakeFiles/cmTC_f3f86.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIME_N -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_f3f86.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_251a3 && [1/2] Building C object CMakeFiles/cmTC_251a3.dir/src.c.o FAILED: CMakeFiles/cmTC_251a3.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_UMTIME -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_251a3.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_d8f74 && [1/2] Building C object CMakeFiles/cmTC_d8f74.dir/src.c.o FAILED: CMakeFiles/cmTC_d8f74.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_MTIME_USEC -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_d8f74.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_86ea6 && [1/2] Building C object CMakeFiles/cmTC_86ea6.dir/src.c.o FAILED: CMakeFiles/cmTC_86ea6.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STAT_ST_FLAGS -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_86ea6.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c:7:34: error: 'struct stat' has no member named 'st_flags' 7 | (void)sizeof(((struct stat *)0)->st_flags); | ^~ ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_2eb20 && [1/2] Building C object CMakeFiles/cmTC_2eb20.dir/src.c.o FAILED: CMakeFiles/cmTC_2eb20.dir/src.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -DHAVE_STRUCT_STATVFS_F_IOSIZE -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -w -std=gnu11 -o CMakeFiles/cmTC_2eb20.dir/src.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp/src.c: In function 'main': /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/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 ninja: build stopped: subcommand failed. 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/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_dbad4 && [1/2] Building C object CMakeFiles/cmTC_dbad4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_dbad4 FAILED: cmTC_dbad4 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=cbreak -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_dbad4.dir/CheckFunctionExists.c.o -o cmTC_dbad4 -lncurses && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_dbad4.dir/CheckFunctionExists.c.o: undefined reference to symbol 'cbreak' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../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 ninja: build stopped: subcommand failed. Determining if the function nodelay exists in the /usr/lib64/libncurses.so failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_b481e && [1/2] Building C object CMakeFiles/cmTC_b481e.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_b481e FAILED: cmTC_b481e : && /mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DCHECK_FUNCTION_EXISTS=nodelay -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib -Wl,-rpath,/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib CMakeFiles/cmTC_b481e.dir/CheckFunctionExists.c.o -o cmTC_b481e -lncurses && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b481e.dir/CheckFunctionExists.c.o: undefined reference to symbol 'nodelay' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../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 ninja: build stopped: subcommand failed. Looking for a Fortran compiler failed with the following output: -- The Fortran compiler identification is GNU 14.2.1 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran - broken CMake Error at /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Modules/CMakeTestFortranCompiler.cmake:61 (message): The Fortran compiler "/usr/bin/gfortran" is not able to compile a simple test program. It fails with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_53af7 && [1/4] Building Fortran preprocessed CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f-pp.f FAILED: CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f-pp.f CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f.o.ddi /usr/bin/gfortran -cpp -E /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f-pp.f && /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Bootstrap.cmk/cmake -E cmake_ninja_depends --tdi=CMakeFiles/cmTC_53af7.dir/FortranDependInfo.json --lang=Fortran --pp=CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f-pp.f --dep=CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f-pp.f.d --obj=CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f.o --ddi=CMakeFiles/cmTC_53af7.dir/testFortranCompiler.f.o.ddi CMake Error: cmake bootstrap Usage: /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Bootstrap.cmk/cmake -E [arguments...] Available commands: capabilities - Report capabilities built into cmake in JSON format cat ... - concat the files and print them to the standard output chdir dir cmd [args...] - run command in a given directory compare_files [--ignore-eol] file1 file2 - check if file1 is same as file2 copy ... destination - copy files to destination (either file or directory) copy_directory ... destination - copy content of ... directories to 'destination' directory copy_if_different ... destination - copy files if it has changed echo [...] - displays arguments as text echo_append [...] - displays arguments as text but no new line env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... - run command in a modified environment environment - display the current environment make_directory ... - create parent and directories md5sum ... - create MD5 checksum of files sha1sum ... - create SHA1 checksum of files sha224sum ... - create SHA224 checksum of files sha256sum ... - create SHA256 checksum of files sha384sum ... - create SHA384 checksum of files sha512sum ... - create SHA512 checksum of files remove [-f] ... - remove the file(s), use -f to force it (deprecated: use rm instead) remove_directory ... - remove directories and their contents (deprecated: use rm instead) rename oldname newname - rename a file or directory (on one volume) rm [-rRf] ... - remove files or directories, use -f to force it, r or R to remove directories and their contents recursively sleep ... - sleep for given number of seconds tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...] - create or extract a tar or zip archive time command [args...] - run command and display elapsed time touch ... - touch a . touch_nocreate ... - touch a but do not create it. create_symlink old new - create a symbolic link new -> old create_hardlink old new - create a hard link new -> old true - do nothing with an exit code of 0 false - do nothing with an exit code of 1 ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)  -- Configuring incomplete, errors occurred! See also "/mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeOutput.log". See also "/mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeError.log". Looking for a Swift compiler failed with the following output: -- The Swift compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): No CMAKE_Swift_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "SWIFTC" or the CMake cache entry CMAKE_Swift_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.  CMake Error at /mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Modules/CMakeSwiftInformation.cmake:90 (cmake_host_system_information): Unknown CMake command "cmake_host_system_information". Call Stack (most recent call first): CMakeLists.txt:2 (project)  -- Configuring incomplete, errors occurred! See also "/mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckSwift/CMakeFiles/CMakeOutput.log". See also "/mnt/gold/openwrt/openwrt_2203/build_dir/host/cmake-3.22.3/Tests/CMakeFiles/CheckSwift/CMakeFiles/CMakeError.log".