This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.52.20221009. Invocation command line was $ ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-pc-linux-gnu --disable-dependency-tracking --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-echo --enable-const --enable-overwrite --enable-pc-files --disable-rpath --without-ada --without-debug --without-manpages --without-profile --without-progs --without-tests --disable-big-core --disable-home-terminfo --with-normal --with-shared --with-terminfo-dirs=/usr/share/terminfo --with-default-terminfo-dir=/usr/share/terminfo --with-pkg-config-libdir=/usr/lib/pkgconfig --enable-widec --with-build-cppflags=-D_GNU_SOURCE ## ---------- ## ## Platform. ## ## ---------- ## hostname = cb2a80d0fca4 uname -m = x86_64 uname -r = 5.4.0-196-generic uname -s = Linux uname -v = #216-Ubuntu SMP Thu Aug 29 13:26:53 UTC 2024 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH = /home/user/openwrt2305/staging_dir/target-mips_24kc_musl/host/bin:/home/user/openwrt2305/staging_dir/hostpkg/bin:/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin:/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin:/home/user/openwrt2305/staging_dir/host/bin:/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin:/home/user/openwrt2305/staging_dir/host/bin:/home/user/openwrt2305/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ## ------------ ## ## Core tests. ## ## ------------ ## configure:1072: loading site script /home/user/openwrt2305/include/site/mips #!/bin/sh . $TOPDIR/include/site/linux ac_cv_c_littleendian=${ac_cv_c_littleendian=no} ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} ac_cv_sizeof___int64=0 ac_cv_sizeof_char=1 ac_cv_sizeof_int=4 ac_cv_sizeof_int16_t=2 ac_cv_sizeof_int32_t=4 ac_cv_sizeof_int64_t=8 ac_cv_sizeof_long_int=4 ac_cv_sizeof_long_long=8 ac_cv_sizeof_long=4 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 ac_cv_sizeof_uint16_t=2 ac_cv_sizeof_uint32_t=4 ac_cv_sizeof_uint64_t=8 ac_cv_sizeof_unsigned_int=4 ac_cv_sizeof_unsigned_long=4 ac_cv_sizeof_unsigned_long_long=8 ac_cv_sizeof_unsigned_short=2 ac_cv_sizeof_void_p=4 configure:1171: PATH=".;."; conftest.sh ./configure: 1172: ./configure: conftest.sh: not found configure:1174: $? = 127 configure:1191: checking for ggrep configure:1217: result: no configure:1191: checking for grep configure:1206: found /home/user/openwrt2305/staging_dir/host/bin/grep configure:1214: result: grep configure:1225: checking for egrep configure:1281: result: grep -E configure:1291: result: Configuring NCURSES 6.4 ABI 6 (Tue Oct 22 21:07:40 UTC 2024) configure:1295: checking for package version configure:1316: result: 6.4 configure:1319: checking for package patch date configure:1336: result: 20221231 configure:1347: testing ABI VERSION 5:0:10 ... configure:1351: testing VERSION_MAJOR 6 ... configure:1355: testing VERSION_MINOR 4 ... configure:1359: testing VERSION_PATCH 20221231 ... configure:1501: checking build system type configure:1519: result: x86_64-pc-linux-gnu configure:1526: checking host system type configure:1540: result: mips-openwrt-linux-gnu configure:1548: checking target system type configure:1562: result: mips-openwrt-linux-gnu configure:1594: result: Configuring for linux-gnu configure:1619: checking for fgrep configure:1675: result: grep -F configure:1679: checking for prefix configure:1691: result: /usr configure:1798: checking for mips-openwrt-linux-gcc configure:1821: result: mips-openwrt-linux-musl-gcc configure:1878: checking for C compiler version configure:1881: mips-openwrt-linux-musl-gcc --version &5 mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27892-1306885968) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1884: $? = 0 configure:1886: mips-openwrt-linux-musl-gcc -v &5 Reading specs from /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/specs COLLECT_GCC=mips-openwrt-linux-musl-gcc COLLECT_LTO_WRAPPER=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/libexec/gcc/mips-openwrt-linux-musl/13.3.0/lto-wrapper Target: mips-openwrt-linux-musl Configured with: /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 13.3.0 r27892-1306885968' --prefix=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=mips-openwrt-linux-musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-system-zlib=/home/user/openwrt2305/staging_dir/host --with-zstd=/home/user/openwrt2305/staging_dir/host --with-gmp=/home/user/openwrt2305/staging_dir/host --with-mpfr=/home/user/openwrt2305/staging_dir/host --with-mpc=/home/user/openwrt2305/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-mips-plt CFLAGS='-O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe' CXXFLAGS='-O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe' 'CFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' 'CXXFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' 'GOCFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' --with-headers=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib --enable-plugins --enable-lto --with-libelf=/home/user/openwrt2305/staging_dir/host --disable-libsanitizer Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.3.0 (OpenWrt GCC 13.3.0 r27892-1306885968) configure:1889: $? = 0 configure:1891: mips-openwrt-linux-musl-gcc -V &5 mips-openwrt-linux-musl-gcc: error: unrecognized command-line option '-V' mips-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:1894: $? = 1 configure:1914: checking for C compiler default output configure:1917: mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:1920: $? = 0 configure:1949: result: a.out configure:1954: checking whether the C compiler works configure:1978: result: yes configure:1985: checking whether we are cross compiling configure:1987: result: yes configure:1990: checking for executable suffix configure:1992: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:1995: $? = 0 configure:2017: result: configure:2023: checking for object suffix configure:2041: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 configure:2044: $? = 0 configure:2063: result: o configure:2067: checking whether we are using the GNU C compiler configure:2088: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 configure:2091: $? = 0 configure:2094: test -s conftest.o configure:2097: $? = 0 configure:2109: result: yes configure:2115: checking whether mips-openwrt-linux-musl-gcc accepts -g configure:2133: mips-openwrt-linux-musl-gcc -c -g -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:2136: $? = 0 configure:2139: test -s conftest.o configure:2142: $? = 0 configure:2152: result: yes configure:2179: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 conftest.c:2:3: error: unknown type name 'choke' 2 | choke me | ^~~~~ conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input configure:2182: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2283: checking version of mips-openwrt-linux-musl-gcc configure:2287: result: 13.3.0 configure:2296: checking if this is really Intel C compiler configure:2318: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -no-gcc -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 mips-openwrt-linux-musl-gcc: error: unrecognized command-line option '-no-gcc' configure:2321: $? = 1 configure: failed program was: #line 2301 "configure" #include "confdefs.h" int main (void) { #ifdef __INTEL_COMPILER #else make an error #endif ; return 0; } configure:2338: result: no configure:2347: checking if this is really Clang C compiler configure:2368: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 configure: In function 'main': configure:2359:1: error: unknown type name 'make' 2359 | #else | ^~~~ configure:2359:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 2359 | #else | ^ configure:2371: $? = 1 configure: failed program was: #line 2351 "configure" #include "confdefs.h" int main (void) { #ifdef __clang__ #else make an error #endif ; return 0; } configure:2387: result: no configure:2468: checking for mips-openwrt-linux-musl-gcc option to accept ANSI C configure:2525: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify conftest.c >&5 configure:2528: $? = 0 configure:2531: test -s conftest.o configure:2534: $? = 0 configure:2551: result: none needed configure:2562: checking $CFLAGS variable configure:2566: result: broken configure:2568: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options configure:2681: checking $CC variable configure:2816: result: ok configure:2827: checking how to run the C preprocessor configure:2853: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:2859: $? = 0 configure:2886: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:2883:10: fatal error: ac_nonexistent.h: No such file or directory 2883 | #include "confdefs.h" | ^~~~~~~~~~~~ compilation terminated. configure:2892: $? = 1 configure: failed program was: #line 2882 "configure" #include "confdefs.h" #include configure:2929: result: mips-openwrt-linux-musl-gcc -E configure:2944: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:2950: $? = 0 configure:2977: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:2974:10: fatal error: ac_nonexistent.h: No such file or directory 2974 | #include "confdefs.h" | ^~~~~~~~~~~~ compilation terminated. configure:2983: $? = 1 configure: failed program was: #line 2973 "configure" #include "confdefs.h" #include configure:3024: checking whether mips-openwrt-linux-musl-gcc needs -traditional configure:3032:10: fatal error: sgtty.h: No such file or directory 3032 | #include "confdefs.h" | ^~~~~~~~~ compilation terminated. configure:3047:10: fatal error: termio.h: No such file or directory 3047 | #include "confdefs.h" | ^~~~~~~~~~ compilation terminated. configure:3059: result: no configure:3066: checking whether mips-openwrt-linux-musl-gcc understands -c and -o together configure:3081: mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -c conftest.c -o conftest2.o >&5 configure:3084: $? = 0 configure:3086: mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -c conftest.c -o conftest2.o >&5 configure:3089: $? = 0 configure:3100: result: yes configure:3156: checking if you want to ensure bool is consistent with C++ configure:3166: result: yes configure:3184: checking for mips-openwrt-linux-g++ configure:3207: result: mips-openwrt-linux-musl-g++ configure:3261: checking for C++ compiler version configure:3264: mips-openwrt-linux-musl-g++ --version &5 mips-openwrt-linux-musl-g++ (OpenWrt GCC 13.3.0 r27892-1306885968) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3267: $? = 0 configure:3269: mips-openwrt-linux-musl-g++ -v &5 Reading specs from /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/specs COLLECT_GCC=mips-openwrt-linux-musl-g++ COLLECT_LTO_WRAPPER=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/libexec/gcc/mips-openwrt-linux-musl/13.3.0/lto-wrapper Target: mips-openwrt-linux-musl Configured with: /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 13.3.0 r27892-1306885968' --prefix=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=mips-openwrt-linux-musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-system-zlib=/home/user/openwrt2305/staging_dir/host --with-zstd=/home/user/openwrt2305/staging_dir/host --with-gmp=/home/user/openwrt2305/staging_dir/host --with-mpfr=/home/user/openwrt2305/staging_dir/host --with-mpc=/home/user/openwrt2305/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-mips-plt CFLAGS='-O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe' CXXFLAGS='-O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe' 'CFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' 'CXXFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' 'GOCFLAGS_FOR_TARGET=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro' --with-headers=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib --enable-plugins --enable-lto --with-libelf=/home/user/openwrt2305/staging_dir/host --disable-libsanitizer Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.3.0 (OpenWrt GCC 13.3.0 r27892-1306885968) configure:3272: $? = 0 configure:3274: mips-openwrt-linux-musl-g++ -V &5 mips-openwrt-linux-musl-g++: error: unrecognized command-line option '-V' mips-openwrt-linux-musl-g++: fatal error: no input files compilation terminated. configure:3277: $? = 1 configure:3280: checking whether we are using the GNU C++ compiler configure:3301: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure:3304: $? = 0 configure:3307: test -s conftest.o configure:3310: $? = 0 configure:3322: result: yes configure:3328: checking whether mips-openwrt-linux-musl-g++ accepts -g configure:3346: mips-openwrt-linux-musl-g++ -c -g -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure:3349: $? = 0 configure:3352: test -s conftest.o configure:3355: $? = 0 configure:3365: result: yes configure:3405: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure:3408: $? = 0 configure:3411: test -s conftest.o configure:3414: $? = 0 configure:3436: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure: In function 'int main()': configure:3429:1: error: 'exit' was not declared in this scope 3429 | { | ^ configure:3425:1: note: 'exit' is defined in header ''; did you forget to '#include '? 3424 | #line 3424 "configure" +++ |+#include 3425 | #include "confdefs.h" configure:3439: $? = 1 configure: failed program was: #line 3424 "configure" #include "confdefs.h" int main (void) { exit (42); ; return 0; } configure:3405: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure:3408: $? = 0 configure:3411: test -s conftest.o configure:3414: $? = 0 configure:3436: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.cc >&5 configure:3439: $? = 0 configure:3442: test -s conftest.o configure:3445: $? = 0 configure:3479: checking if mips-openwrt-linux-musl-g++ works configure:3504: mips-openwrt-linux-musl-g++ -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -I/usr/include conftest.cc >&5 In file included from /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify/stdlib.h:22, from confdefs.h:7, from configure:3487: /usr/include/stdlib.h:25:10: fatal error: bits/libc-header-start.h: No such file or directory 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:3507: $? = 1 configure: failed program was: #line 3487 "configure" #include "confdefs.h" #include #include int main (void) { printf("Hello world!\n") ; return 0; } configure:3524: result: no configure:3528: WARNING: Ignore mips-openwrt-linux-musl-g++, since it cannot compile hello-world. configure:3582: WARNING: You don't have any C++ compiler, too bad configure:3612: checking if you want to build C++ binding and demo configure:3622: result: no configure:3625: checking if you want to build with Ada configure:3627: result: no configure:3630: checking if you want to install terminal database configure:3640: result: yes configure:3643: checking if you want to install manpages configure:3653: result: no configure:3656: checking if you want to build programs such as tic configure:3666: result: no configure:3694: checking if you want to build test-programs configure:3704: result: no configure:3707: checking if you wish to install curses.h configure:3717: result: yes configure:3742: checking for mawk configure:3757: found /usr/bin/mawk configure:3765: result: mawk configure:3791: checking for a BSD compatible install configure:3840: result: /home/user/openwrt2305/staging_dir/host/bin/install -c configure:3865: checking for lint configure:3891: result: no configure:3865: checking for cppcheck configure:3891: result: no configure:3865: checking for splint configure:3891: result: no configure:3904: checking whether ln -s works configure:3908: result: yes configure:3915: checking if ln -s -f options work configure:3927: result: yes configure:3932: checking for long file names configure:3971: result: yes configure:4000: checking if you want to use pkg-config configure:4010: result: yes configure:4022: checking for mips-openwrt-linux-pkg-config configure:4050: result: /home/user/openwrt2305/staging_dir/host/bin/pkg-config configure:4154: checking for /home/user/openwrt2305/staging_dir/host/bin/pkg-config library directory configure:4186: result: /usr/lib/pkgconfig configure:4285: checking if we should install .pc files for /home/user/openwrt2305/staging_dir/host/bin/pkg-config configure:4299: result: yes configure:4352: checking for suffix to add to pc-files configure:4367: result: none configure:4373: checking if we should assume mixed-case filenames configure:4383: result: auto configure:4387: checking if filesystem supports mixed-case filenames configure:4414: result: yes configure:4433: checking whether make sets ${MAKE} configure:4453: result: yes configure:4462: checking for ".PHONY" make-support make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making always.out 1 echo 1 > always.out ** making always 1 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making once.out 1 echo 1 > once.out ** making once 1 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Nothing to be done for 'always'. touch once make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making always.out 2 echo 2 > always.out ** making always 2 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making once.out 2 echo 2 > once.out ** making once 2 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Nothing to be done for 'always'. touch once make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making always.out 3 echo 3 > always.out ** making always 3 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' ** making once.out 3 echo 3 > once.out ** making once 3 make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Entering directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' make[4]: Nothing to be done for 'always'. touch once make[4]: Leaving directory '/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/conftest' configure:4517: result: yes configure:4528: checking for exctags configure:4554: result: no configure:4528: checking for ctags configure:4554: result: no configure:4565: checking for exetags configure:4591: result: no configure:4565: checking for etags configure:4591: result: no configure:4600: checking for ctags configure:4624: result: no configure:4634: checking for etags configure:4658: result: no configure:4681: checking for makeflags variable configure:4719: result: -${MAKEFLAGS} configure:4725: checking for mips-openwrt-linux-ranlib configure:4748: result: mips-openwrt-linux-musl-gcc-ranlib configure:4799: checking for mips-openwrt-linux-ld configure:4822: result: mips-openwrt-linux-musl-ld.bfd configure:4873: checking for mips-openwrt-linux-ar configure:4896: result: mips-openwrt-linux-musl-gcc-ar configure:4947: checking for mips-openwrt-linux-nm configure:4970: result: mips-openwrt-linux-musl-gcc-nm configure:5021: checking for mips-openwrt-linux-ar configure:5044: result: mips-openwrt-linux-musl-gcc-ar configure:5092: checking for options to update archives configure:5132: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:5135: $? = 0 mips-openwrt-linux-musl-gcc-ar -curvD conftest.a conftest.o /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ar: `u' is not meaningful with the `D' option - replacement will always happen. configure:5156: result: -curvD configure:5167: checking if you have specified an install-prefix configure:5180: result: configure:5215: checking for gcc configure:5230: found /home/user/openwrt2305/staging_dir/host/bin/gcc configure:5238: result: gcc configure:5250: checking for native build C compiler configure:5252: result: gcc configure:5255: checking for native build C preprocessor configure:5265: result: ${BUILD_CC} -E configure:5268: checking for native build C flags configure:5276: result: configure:5279: checking for native build C preprocessor-flags configure:5287: result: -D_GNU_SOURCE configure:5290: checking for native build linker-flags configure:5298: result: configure:5301: checking for native build linker-libraries configure:5309: result: configure:5318: checking if the build-compiler "gcc" works configure:5340: gcc -o conftest -D_GNU_SOURCE conftest.c >&5 configure:5343: $? = 0 configure:5345: ./conftest configure:5348: $? = 0 configure:5363: result: yes configure:5393: checking if libtool -version-number should be used configure:5410: result: yes configure:5459: checking if you want to build libraries with libtool configure:5469: result: no configure:5779: checking if you want to build shared libraries configure:5789: result: yes configure:5793: checking if you want to build static libraries configure:5803: result: yes configure:5807: checking if you want to build debug libraries configure:5817: result: no configure:5821: checking if you want to build profiling libraries configure:5831: result: no configure:5856: checking for specified models configure:5860: result: shared normal configure:5865: checking for default model configure:5868: result: shared configure:5882: checking if you want to have a library-prefix configure:5892: result: auto configure:5923: checking for PATH separator configure:5930: result: : configure:5935: checking if you want to build a separate terminfo library configure:5945: result: no configure:5948: checking if you want to build a separate tic library configure:5958: result: no configure:5971: checking for default loader flags configure:5980: result: configure:5986: checking if rpath option should be used configure:5996: result: no configure:5999: checking if shared libraries should be relinked during install configure:6009: result: yes configure:6130: checking if release/abi version should be used for shared libs configure:6156: result: auto configure:6179: checking which mips-openwrt-linux-musl-gcc option to use configure:6198: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -fPIC -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:6201: $? = 0 configure:6204: test -s conftest.o configure:6207: $? = 0 configure:6216: result: -fPIC configure:6784: testing CC_SHARED_OPTS: -fPIC ... configure:6788: testing MK_SHARED_LIB: ${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,`basename $@ .${REL_VERSION}`.${ABI_VERSION},-stats,-lc -o $@ ... configure:6846: checking if current CFLAGS link properly configure:6861: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:6864: $? = 0 configure:6867: test -s conftest configure:6870: $? = 0 configure:6879: result: yes configure:6890: checking if versioned-symbols file should be used configure:6919: result: no configure:7040: checking if you want to link with the GPM mouse library configure:7050: result: maybe configure:7054: checking for gpm.h configure:7064: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:7061:10: fatal error: gpm.h: No such file or directory 7061 | #include "confdefs.h" | ^~~~~~~ compilation terminated. configure:7070: $? = 1 configure: failed program was: #line 7060 "configure" #include "confdefs.h" #include configure:7089: result: no configure:7630: checking if you want to use PCRE2 for regular-expressions configure:7639: result: no configure:8130: checking if you want to disable library suffixes configure:8147: result: no configure:8416: checking if you want to disable extra LDFLAGS for package-scripts configure:8433: result: no configure:8441: checking if you wish to append extra suffix to header/library paths configure:8460: result: configure:8464: checking if you wish to install ncurses overwriting curses configure:8474: result: yes configure:8477: checking if external terminfo-database is used configure:8487: result: yes configure:8503: checking which terminfo source-file will be installed configure:8511: result: ${top_srcdir}/misc/terminfo.src configure:8514: checking whether to use hashed database instead of directory/tree configure:8524: result: no configure:8530: checking for list of fallback descriptions configure:8540: result: configure:8564: checking for mips-openwrt-linux-tic configure:8590: result: no configure:8599: checking for tic configure:8614: found /home/user/openwrt2305/staging_dir/hostpkg/bin/tic configure:8622: result: tic configure:8637: checking for mips-openwrt-linux-infocmp configure:8663: result: no configure:8672: checking for infocmp configure:8687: found /home/user/openwrt2305/staging_dir/hostpkg/bin/infocmp configure:8695: result: infocmp configure:9038: checking if you want modern xterm or antique configure:9052: result: xterm-new configure:9065: checking if xterm backspace sends BS or DEL configure:9086: result: BS configure:9092: WARNING: expected --with-xterm-kbs=DEL for linux-gnu configure:9102: checking for list of terminfo directories configure:9165: result: /usr/share/terminfo configure:9180: checking for default terminfo directory configure:9225: result: /usr/share/terminfo configure:9236: checking if big-core option selected configure:9282: result: no configure:9292: checking if big-strings option selected configure:9316: result: yes configure:9323: checking if you want termcap-fallback support configure:9333: result: no configure:9467: checking if ~/.terminfo is wanted configure:9477: result: no configure:9484: checking if you want to permit root to use ncurses environment variables configure:9494: result: yes configure:9501: checking if you want to permit setuid programs to access all files configure:9511: result: yes configure:9526: checking for unistd.h configure:9536: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:9542: $? = 0 configure:9561: result: yes configure:9576: checking for remove configure:9613: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:9616: $? = 0 configure:9619: test -s conftest configure:9622: $? = 0 configure:9632: result: yes configure:9576: checking for unlink configure:9613: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:9616: $? = 0 configure:9619: test -s conftest configure:9622: $? = 0 configure:9632: result: yes configure:9649: checking for link configure:9686: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:9689: $? = 0 configure:9692: test -s conftest configure:9695: $? = 0 configure:9705: result: yes configure:9649: checking for symlink configure:9686: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:9689: $? = 0 configure:9692: test -s conftest configure:9695: $? = 0 configure:9705: result: yes configure:9813: checking if tic should use symbolic links configure:9823: result: no configure:9830: checking if tic should use hard links configure:9837: result: yes configure:9853: checking if you want broken-linker support code configure:9863: result: no configure:9877: checking if tputs should process BSD-style prefix padding configure:9887: result: no configure:9906: checking if the POSIX test-macros are already defined configure:9932: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:9935: $? = 0 configure:9938: test -s conftest.o configure:9941: $? = 0 configure:9952: result: no configure:9997: checking if this is the GNU C library configure:10023: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure: In function 'main': configure:10015:11: error: #error not GNU C library 10015 | #else | ^~~ configure:10026: $? = 1 configure: failed program was: #line 10004 "configure" #include "confdefs.h" #include int main (void) { #if __GLIBC__ > 0 && __GLIBC_MINOR__ >= 0 return 0; #elif __NEWLIB__ > 0 && __NEWLIB_MINOR__ >= 0 return 0; #else # error not GNU C library #endif ; return 0; } configure:10043: result: no configure:11512: checking if _XOPEN_SOURCE really is set configure:11530: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:11533: $? = 0 configure:11536: test -s conftest.o configure:11539: $? = 0 configure:11548: result: yes configure:11568: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:11571: $? = 0 configure:11574: test -s conftest.o configure:11577: $? = 0 configure:11836: checking if SIGWINCH is defined configure:11858: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 In file included from configure:11846: /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:11861: $? = 0 configure:11864: test -s conftest.o configure:11867: $? = 0 configure:11915: result: yes configure:11985: checking for nl_langinfo and CODESET configure:12003: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12006: $? = 0 configure:12009: test -s conftest configure:12012: $? = 0 configure:12023: result: yes configure:12037: checking if you want wide-character code configure:12047: result: yes configure:12069: WARNING: _XOPEN_SOURCE feature test macro appears to be predefined configure:12082: checking for wchar.h configure:12092: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:12098: $? = 0 configure:12117: result: yes configure:12082: checking for wctype.h configure:12092: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:12098: $? = 0 configure:12117: result: yes configure:12127: checking if wchar.h can be used as is configure:12156: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:12159: $? = 0 configure:12162: test -s conftest.o configure:12165: $? = 0 configure:12175: result: yes configure:12271: checking if wcwidth agrees graphics are single-width configure:12407: result: unknown configure:12418: checking for putwc configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for btowc configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for wctob configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for wmemchr configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mbtowc configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for wctomb configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mblen configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mbrlen configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mbrtowc configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for wcsrtombs configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mbsrtowcs configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for wcstombs configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:12418: checking for mbstowcs configure:12455: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:12458: $? = 0 configure:12461: test -s conftest configure:12464: $? = 0 configure:12474: result: yes configure:13101: checking if we must include wchar.h to declare mbstate_t configure:13126: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure: In function 'main': configure:13119:1: error: unknown type name 'mbstate_t' 13119 | { | ^ configure:13129: $? = 1 configure: failed program was: #line 13108 "configure" #include "confdefs.h" #include #include #include #ifdef HAVE_LIBUTF8_H #include #endif int main (void) { mbstate_t state ; return 0; } configure:13161: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13164: $? = 0 configure:13167: test -s conftest.o configure:13170: $? = 0 configure:13182: result: yes configure:13200: checking if we must include wchar.h to declare wchar_t configure:13225: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13228: $? = 0 configure:13231: test -s conftest.o configure:13234: $? = 0 configure:13281: result: no configure:13304: checking if we must include wchar.h to declare wint_t configure:13329: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure: In function 'main': configure:13322:1: error: unknown type name 'wint_t' 13322 | { | ^ configure:13332: $? = 1 configure: failed program was: #line 13311 "configure" #include "confdefs.h" #include #include #include #ifdef HAVE_LIBUTF8_H #include #endif int main (void) { wint_t state ; return 0; } configure:13364: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13367: $? = 0 configure:13370: test -s conftest.o configure:13373: $? = 0 configure:13385: result: yes configure:13417: checking whether to enable _LP64 definition in curses.h configure:13427: result: yes configure:13443: checking for special C compiler options needed for large files configure:13517: result: no configure:13523: checking for _FILE_OFFSET_BITS value needed for large files configure:13551: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13554: $? = 0 configure:13557: test -s conftest.o configure:13560: $? = 0 configure:13610: result: no configure:13620: checking for _LARGE_FILES value needed for large files configure:13648: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13651: $? = 0 configure:13654: test -s conftest.o configure:13657: $? = 0 configure:13707: result: no configure:13720: checking for _LARGEFILE_SOURCE value needed for large files configure:13740: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:13743: $? = 0 configure:13746: test -s conftest.o configure:13749: $? = 0 configure:13791: result: no configure:13805: checking for fseeko configure:13823: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:13826: $? = 0 configure:13829: test -s conftest configure:13832: $? = 0 configure:13842: result: yes configure:13881: checking whether to use struct dirent64 configure:13911: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure: In function 'main': configure:13899:42: error: conflicting types for 'readdir'; have 'struct dirent64 *(DIR *)' 13899 | /* if transitional largefile support is setup, this is true */ | ^~~~~~~ In file included from configure:13892: /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/dirent.h:27:16: note: previous declaration of 'readdir' with type 'struct dirent *(DIR *)' 27 | struct dirent *readdir(DIR *); | ^~~~~~~ configure:13901:36: error: initialization of 'struct dirent *' from incompatible pointer type 'struct dirent64 *' [-Werror=incompatible-pointer-types] 13901 | struct dirent64 *x = readdir((DIR *)0); | ^~~~~~~ configure:13902:27: error: invalid operands to binary - (have 'struct dirent64 *' and 'struct dirent *') 13902 | struct dirent *y = readdir((DIR *)0); | ^ cc1: some warnings being treated as errors configure:13914: $? = 1 configure: failed program was: #line 13888 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types" #include #include int main (void) { /* if transitional largefile support is setup, this is true */ extern struct dirent64 * readdir(DIR *); struct dirent64 *x = readdir((DIR *)0); struct dirent *y = readdir((DIR *)0); int z = x - y; (void)z; ; return 0; } configure:13931: result: no configure:13941: checking if you want tparm not to use X/Open fixed-parameter list configure:13951: result: yes configure:13975: checking if you want to enable wattr* macros configure:13987: result: no configure:13995: checking for X11 rgb file configure:14067: result: ${exec_prefix}/lib/X11/rgb.txt configure:14081: checking for type of bool configure:14091: result: auto configure:14094: checking for alternate terminal capabilities file configure:14110: result: Caps configure:14114: checking for type of chtype configure:14124: result: uint32_t configure:14128: checking for type of ospeed configure:14138: result: short configure:14142: checking for type of mmask_t configure:14152: result: uint32_t configure:14156: checking for size CCHARW_MAX configure:14166: result: 5 configure:14169: checking for ANSI C header files configure:14183: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c configure:14189: $? = 0 configure:14297: result: yes configure:14313: checking for sys/types.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for sys/stat.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for stdlib.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for string.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for memory.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for strings.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for inttypes.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for stdint.h configure:14325: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14328: $? = 0 configure:14331: test -s conftest.o configure:14334: $? = 0 configure:14344: result: yes configure:14313: checking for unistd.h configure:14344: result: yes configure:14354: checking for signed char configure:14375: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14378: $? = 0 configure:14381: test -s conftest.o configure:14384: $? = 0 configure:14394: result: yes configure:14397: checking size of signed char configure:14418: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14421: $? = 0 configure:14424: test -s conftest.o configure:14427: $? = 0 configure:14444: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure: In function 'main': configure:14470:5: error: size of array '_array_' is negative 14470 | #include "confdefs.h" | ^~~~~~~ configure:14447: $? = 1 configure: failed program was: #line 14432 "configure" #include "confdefs.h" #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif int main (void) { int _array_ [1 - 2 * !((sizeof (signed char)) <= 0)] ; return 0; } configure:14444: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:14447: $? = 0 configure:14450: test -s conftest.o configure:14453: $? = 0 configure:14585: result: 1 configure:14596: checking if you want to use signed Boolean array in term.h configure:14606: result: no configure:14611: checking for type of tparm args configure:14621: result: intptr_t configure:14625: checking if RCS identifiers should be compiled-in configure:14635: result: no configure:14644: checking format of man-pages configure:14735: result: gzip configure:14742: checking for manpage renaming configure:14776: result: /home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4/man/man_db.renames configure:14779: checking if manpage aliases will be installed configure:14790: result: yes configure:14804: checking if manpage symlinks should be used configure:14823: result: yes configure:14827: checking for manpage tbl configure:14838: result: no configure:15183: checking if you want to build with function extensions configure:15193: result: yes configure:15253: checking if you want to build with SCREEN extensions configure:15263: result: yes configure:15282: checking if you want to build with terminal-driver configure:15292: result: no configure:15313: checking for extended use of const keyword configure:15323: result: yes configure:15331: checking if you want to use extended colors configure:15341: result: yes configure:15384: checking if you want to use extended mouse encoding configure:15394: result: yes configure:15424: checking if you want to use extended putwin/screendump configure:15434: result: yes configure:15444: checking if you want $NCURSES_NO_PADDING code configure:15454: result: yes configure:15462: checking if you want SIGWINCH handler configure:15472: result: yes configure:15480: checking if you want user-definable terminal capabilities like termcap configure:15490: result: yes configure:15497: checking if you want to link with the pthread library configure:15507: result: no configure:15849: checking if you want reentrant code configure:15859: result: no configure:15959: checking if you want opaque curses-library structures configure:15981: result: no configure:15990: checking if you want opaque form-library structures configure:16000: result: no configure:16003: checking if you want opaque menu-library structures configure:16013: result: no configure:16016: checking if you want opaque panel-library structures configure:16026: result: no configure:16059: checking if you want all development code configure:16069: result: no configure:16073: checking if you want hard-tabs code configure:16083: result: no configure:16091: checking if you want limited support for xmc configure:16101: result: no configure:16111: checking if you do not want to assume colors are white-on-black configure:16121: result: yes configure:16129: checking if you want hashmap scrolling-optimization code configure:16139: result: yes configure:16147: checking if you want colorfgbg code configure:16157: result: no configure:16165: checking if you want to use gcc -fvisibility option configure:16175: result: no configure:16512: checking if you want interop bindings configure:16522: result: yes configure:16528: checking if you want experimental safe-sprintf code configure:16538: result: no configure:16563: checking if you want wgetch-events code configure:16573: result: no configure:16624: checking if you want to see long compiling messages configure:16658: result: yes configure:16671: checking if you want to install stripped executables configure:16688: result: yes configure:16699: checking if install accepts -p option configure:16730: result: yes configure:16733: checking if install needs to be told about ownership configure:16744: result: no configure:16769: checking if you want to use C11 _Noreturn feature configure:16786: result: no configure:17001: checking if you want to turn on gcc warnings configure:17018: result: no configure:17270: checking for mips-openwrt-linux-musl-gcc __attribute__ directives... checking for mips-openwrt-linux-musl-gcc __attribute__((scanf)) configure:17322: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:17325: $? = 0 checking for mips-openwrt-linux-musl-gcc __attribute__((printf)) configure:17322: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:17325: $? = 0 checking for mips-openwrt-linux-musl-gcc __attribute__((unused)) configure:17322: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:17325: $? = 0 checking for mips-openwrt-linux-musl-gcc __attribute__((noreturn)) configure:17322: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC conftest.c >&5 configure:17325: $? = 0 configure:17685: checking if you want to work around bogus compiler/loader warnings configure:17695: result: no configure:17967: checking if you want to enable runtime assertions configure:17977: result: no configure:17993: checking if you want to use dmalloc for testing configure:18015: result: no configure:18230: checking if you want to use dbmalloc for testing configure:18252: result: no configure:18467: checking if you want to use valgrind for testing configure:18489: result: no configure:18602: checking if you want to perform memory-leak testing configure:18613: result: no configure:18665: checking whether to add trace feature to all models configure:18675: result: no configure:18789: checking if we want to use GNAT projects configure:18806: result: yes configure:18928: checking for gettimeofday configure:18984: result: yes configure:19071: checking if -lm needed for math functions configure:19094: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:19097: $? = 0 configure:19100: test -s conftest configure:19103: $? = 0 configure:19113: result: no configure:19185: checking for ANSI C header files configure:19313: result: yes configure:19326: checking for dirent.h that defines DIR configure:19347: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:19350: $? = 0 configure:19353: test -s conftest.o configure:19356: $? = 0 configure:19366: result: yes configure:19379: checking for opendir in -ldir configure:19406: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c -ldir >&5 /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd: cannot find -ldir: No such file or directory collect2: error: ld returned 1 exit status configure:19409: $? = 1 configure: failed program was: #line 19387 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main (void) { opendir (); ; return 0; } configure:19426: result: no configure:19488: checking whether time.h and sys/time.h may both be included configure:19510: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:19513: $? = 0 configure:19516: test -s conftest.o configure:19519: $? = 0 configure:19529: result: yes configure:19897: checking for regcomp configure:19934: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:19937: $? = 0 configure:19940: test -s conftest configure:19943: $? = 0 configure:19953: result: yes configure:20182: checking for regular-expression headers configure:20257: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20260: $? = 0 configure:20263: test -s conftest configure:20266: $? = 0 configure:20282: result: regex.h configure:20323: checking for fcntl.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for getopt.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for limits.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for locale.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for math.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for poll.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/ioctl.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/param.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/poll.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c In file included from configure:20330: /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/select.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/time.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for sys/times.h configure:20333: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:20339: $? = 0 configure:20358: result: yes configure:20323: checking for unistd.h configure:20358: result: yes configure:20323: checking for wctype.h configure:20358: result: yes configure:20371: checking for unistd.h configure:20406: result: yes configure:20371: checking for getopt.h configure:20406: result: yes configure:20416: checking for header declaring getopt variables configure:20439: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:20432:9: error: 'optind' undeclared (first use in this function) 20432 | { | ^ configure:20432:9: note: each undeclared identifier is reported only once for each function it appears in configure:20432:27: error: 'optarg' undeclared (first use in this function) 20432 | { | ^ configure:20442: $? = 1 configure: failed program was: #line 20426 "configure" #include "confdefs.h" #include int main (void) { int x = optind; char *y = optarg; (void)x; (void)y ; return 0; } configure:20439: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:20432:9: error: 'optind' undeclared (first use in this function) 20432 | { | ^ configure:20432:9: note: each undeclared identifier is reported only once for each function it appears in configure:20432:27: error: 'optarg' undeclared (first use in this function) 20432 | { | ^ configure:20442: $? = 1 configure: failed program was: #line 20426 "configure" #include "confdefs.h" #include int main (void) { int x = optind; char *y = optarg; (void)x; (void)y ; return 0; } configure:20439: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:20442: $? = 0 configure:20445: test -s conftest.o configure:20448: $? = 0 configure:20460: result: unistd.h configure:20477: checking if external environ is declared configure:20500: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:20493:15: error: 'environ' undeclared (first use in this function) 20493 | { | ^ configure:20493:15: note: each undeclared identifier is reported only once for each function it appears in configure:20503: $? = 1 configure: failed program was: #line 20484 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H #include #endif #include int main (void) { int x = (int) environ ; return 0; } configure:20520: result: no configure:20535: checking if external environ exists configure:20557: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20560: $? = 0 configure:20563: test -s conftest configure:20566: $? = 0 configure:20577: result: yes configure:20590: checking for getenv configure:20627: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20630: $? = 0 configure:20633: test -s conftest configure:20636: $? = 0 configure:20646: result: yes configure:20652: checking for putenv configure:20689: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20692: $? = 0 configure:20695: test -s conftest configure:20698: $? = 0 configure:20708: result: yes configure:20652: checking for setenv configure:20689: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20692: $? = 0 configure:20695: test -s conftest configure:20698: $? = 0 configure:20708: result: yes configure:20652: checking for strdup configure:20689: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:20669:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 20669 | builtin and then its argument prototype would still apply. */ | ^~~~~~ configure:20692: $? = 0 configure:20695: test -s conftest configure:20698: $? = 0 configure:20708: result: yes configure:20718: checking if getenv returns consistent values configure:20858: result: unknown configure:20877: checking if sys/time.h works with sys/select.h configure:20904: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:20907: $? = 0 configure:20910: test -s conftest.o configure:20913: $? = 0 configure:20925: result: yes configure:20940: checking for an ANSI C-conforming const configure:21004: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21007: $? = 0 configure:21010: test -s conftest.o configure:21013: $? = 0 configure:21023: result: yes configure:21033: checking for inline configure:21050: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21053: $? = 0 configure:21056: test -s conftest.o configure:21059: $? = 0 configure:21070: result: inline configure:21096: checking if mips-openwrt-linux-musl-gcc supports options to tune inlining configure:21117: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21120: $? = 0 configure:21123: test -s conftest.o configure:21126: $? = 0 configure:21138: result: yes configure:21244: checking for signal global datatype configure:21280: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21283: $? = 0 configure:21286: test -s conftest.o configure:21289: $? = 0 configure:21303: result: volatile sig_atomic_t configure:21392: checking if unsigned literals are legal configure:21411: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21414: $? = 0 configure:21417: test -s conftest.o configure:21420: $? = 0 configure:21432: result: yes configure:21448: checking if external errno is declared configure:21473: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21476: $? = 0 configure:21479: test -s conftest.o configure:21482: $? = 0 configure:21493: result: yes configure:21508: checking if external errno exists configure:21530: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd: /home/user/openwrt2305/tmp/cc2eXcF8.o: in function `main': conftest.c:(.text.startup+0x14): undefined reference to `errno' collect2: error: ld returned 1 exit status configure:21533: $? = 1 configure: failed program was: #line 21515 "configure" #include "confdefs.h" #undef errno extern int errno; int main (void) { errno = 2 ; return 0; } configure:21550: result: no configure:21563: checking if data-only library module links configure:21574: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21577: $? = 0 /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ar: `u' is not meaningful with the `D' option - replacement will always happen. configure:21597: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21600: $? = 0 /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ar: `u' is not meaningful with the `D' option - replacement will always happen. configure:21647: result: unknown configure:21691: checking for fpathconf configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for getcwd configure:21747: result: yes configure:21691: checking for getegid configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for geteuid configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for getopt configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for issetugid configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for localeconv configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for poll configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for putenv configure:21747: result: yes configure:21691: checking for remove configure:21747: result: yes configure:21691: checking for select configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for setbuf configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for setbuffer configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for setenv configure:21747: result: yes configure:21691: checking for setfsuid configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for setvbuf configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for sigaction configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for sigvec configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib/gcc/mips-openwrt-linux-musl/13.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd: /home/user/openwrt2305/tmp/ccA0xfD7.o: in function `main': conftest.c:(.text.startup+0x16): undefined reference to `sigvec' collect2: error: ld returned 1 exit status configure:21731: $? = 1 configure: failed program was: #line 21697 "configure" #include "confdefs.h" #define sigvec autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ #undef sigvec #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigvec (void); int main (void) { /* The GNU C library defines stubs for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigvec) || defined (__stub___sigvec) #error found stub for sigvec #endif return sigvec (); ; return 0; } configure:21747: result: no configure:21691: checking for snprintf configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21708:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 21708 | builtin and then its argument prototype would still apply. */ | ^~~~~~~~ configure:21700:1: note: 'snprintf' is declared in header '' 21699 | #define $ac_func autoconf_temporary +++ |+#include 21700 | #include /* least-intrusive standard header which defines gcc2 __stub macros */ configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for strdup configure:21747: result: yes configure:21691: checking for strstr configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21708:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 21708 | builtin and then its argument prototype would still apply. */ | ^~~~~~ configure:21700:1: note: 'strstr' is declared in header '' 21699 | #define $ac_func autoconf_temporary +++ |+#include 21700 | #include /* least-intrusive standard header which defines gcc2 __stub macros */ configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for sysconf configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for tcgetpgrp configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for times configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for tsearch configure:21728: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:21731: $? = 0 configure:21734: test -s conftest configure:21737: $? = 0 configure:21747: result: yes configure:21691: checking for vsnprintf configure:21747: result: yes configure:21757: checking if _PATH_TTYS is defined in ttyent.h configure:21779: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:21767:10: fatal error: ttyent.h: No such file or directory 21767 | #include | ^~~~~~~~~ compilation terminated. configure:21782: $? = 1 configure: failed program was: #line 21764 "configure" #include "confdefs.h" #include #include int main (void) { FILE *fp = fopen(_PATH_TTYS, "r"); (void)fp ; return 0; } configure:21798: result: no configure:22064: checking for isascii configure:22083: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:22086: $? = 0 configure:22089: test -s conftest configure:22092: $? = 0 configure:22103: result: yes configure:22111: checking whether sigaction needs _POSIX_SOURCE configure:22128: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:22131: $? = 0 configure:22134: test -s conftest.o configure:22137: $? = 0 configure:22185: result: no configure:22189: checking if nanosleep really works configure:22244: result: unknown configure:22261: checking for termio.h configure:22271: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:22268:10: fatal error: termio.h: No such file or directory 22268 | #include "confdefs.h" | ^~~~~~~~~~ compilation terminated. configure:22277: $? = 1 configure: failed program was: #line 22267 "configure" #include "confdefs.h" #include configure:22296: result: no configure:22261: checking for termios.h configure:22271: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:22277: $? = 0 configure:22296: result: yes configure:22261: checking for unistd.h configure:22296: result: yes configure:22261: checking for sys/ioctl.h configure:22296: result: yes configure:22261: checking for sys/termio.h configure:22271: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:22268:10: fatal error: sys/termio.h: No such file or directory 22268 | #include "confdefs.h" | ^~~~~~~~~~~~ compilation terminated. configure:22277: $? = 1 configure: failed program was: #line 22267 "configure" #include "confdefs.h" #include configure:22296: result: no configure:22313: checking whether termios.h needs _POSIX_SOURCE configure:22328: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:22331: $? = 0 configure:22334: test -s conftest.o configure:22337: $? = 0 configure:22384: result: no configure:22389: checking for tcgetattr configure:22424: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:22427: $? = 0 configure:22430: test -s conftest configure:22433: $? = 0 configure:22443: result: yes configure:22450: checking for vsscanf function or workaround configure:22473: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:22476: $? = 0 configure:22479: test -s conftest configure:22482: $? = 0 configure:22575: result: vsscanf configure:22601: checking for unistd.h configure:22636: result: yes configure:22646: checking for working mkstemp configure:22721: result: maybe configure:22724: checking for mkstemp configure:22761: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:22764: $? = 0 configure:22767: test -s conftest configure:22770: $? = 0 configure:22780: result: yes configure:22801: WARNING: cross compiling: assume setvbuf params not reversed configure:22864: checking for intptr_t configure:22885: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:22888: $? = 0 configure:22891: test -s conftest.o configure:22894: $? = 0 configure:22904: result: yes configure:22916: checking for ssize_t configure:22937: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:22940: $? = 0 configure:22943: test -s conftest.o configure:22946: $? = 0 configure:22956: result: yes configure:22968: checking for type sigaction_t configure:22988: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:22981:1: error: unknown type name 'sigaction_t' 22981 | { | ^ configure:22991: $? = 1 configure: failed program was: #line 22975 "configure" #include "confdefs.h" #include int main (void) { sigaction_t x ; return 0; } configure:23008: result: no configure:23015: checking declaration of size-change configure:23086: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:23089: $? = 0 configure:23092: test -s conftest.o configure:23095: $? = 0 size-change succeeded () configure:23114: result: yes configure:23132: checking for memmove configure:23169: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:23149:6: warning: conflicting types for built-in function 'memmove'; expected 'void *(void *, const void *, unsigned int)' [-Wbuiltin-declaration-mismatch] 23149 | builtin and then its argument prototype would still apply. */ | ^~~~~~~ configure:23141:1: note: 'memmove' is declared in header '' 23140 | #define memmove autoconf_temporary +++ |+#include 23141 | #include /* least-intrusive standard header which defines gcc2 __stub macros */ configure:23172: $? = 0 configure:23175: test -s conftest configure:23178: $? = 0 configure:23188: result: yes configure:23326: checking for posix_openpt configure:23363: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:23366: $? = 0 configure:23369: test -s conftest configure:23372: $? = 0 configure:23382: result: yes configure:23392: checking if poll really works configure:23474: result: unknown configure:23481: checking for va_copy configure:23505: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:23508: $? = 0 configure:23511: test -s conftest configure:23514: $? = 0 configure:23524: result: yes configure:23754: checking for pid_t configure:23775: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:23778: $? = 0 configure:23781: test -s conftest.o configure:23784: $? = 0 configure:23794: result: yes configure:23809: checking for unistd.h configure:23844: result: yes configure:23809: checking for vfork.h configure:23819: mips-openwrt-linux-musl-gcc -E -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c configure:23816:10: fatal error: vfork.h: No such file or directory 23816 | #include "confdefs.h" | ^~~~~~~~~ compilation terminated. configure:23825: $? = 1 configure: failed program was: #line 23815 "configure" #include "confdefs.h" #include configure:23844: result: no configure:23857: checking for fork configure:23894: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:23874:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 23874 | builtin and then its argument prototype would still apply. */ | ^~~~ configure:23897: $? = 0 configure:23900: test -s conftest configure:23903: $? = 0 configure:23913: result: yes configure:23857: checking for vfork configure:23894: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c >&5 configure:23897: $? = 0 configure:23900: test -s conftest configure:23903: $? = 0 configure:23913: result: yes configure:23925: checking for working fork configure:23968: result: yes configure:23987: checking for working vfork configure:24113: result: yes configure:24144: checking if fopen accepts explicit binary mode configure:24208: result: unknown configure:24217: checking for openpty in -lutil configure:24244: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c -lutil >&5 configure:24247: $? = 0 configure:24250: test -s conftest configure:24253: $? = 0 configure:24264: result: yes configure:24272: checking for openpty header configure:24316: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro conftest.c -lutil >&5 configure:24319: $? = 0 configure:24322: test -s conftest configure:24325: $? = 0 configure:24343: result: pty.h configure:24985: checking if we should include stdbool.h configure:25005: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:24998:1: error: unknown type name 'bool' 24998 | { | ^ configure:24994:1: note: 'bool' is defined in header ''; did you forget to '#include '? 24993 | #line 24993 "configure" +++ |+#include 24994 | #include "confdefs.h" configure:24998:12: error: 'false' undeclared (first use in this function) 24998 | { | ^ configure:24998:12: note: 'false' is defined in header ''; did you forget to '#include '? configure:24998:12: note: each undeclared identifier is reported only once for each function it appears in configure:25008: $? = 1 configure: failed program was: #line 24993 "configure" #include "confdefs.h" int main (void) { bool foo = false ; return 0; } configure:25037: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:25040: $? = 0 configure:25043: test -s conftest.o configure:25046: $? = 0 configure:25060: result: yes configure:25066: checking for builtin bool type configure:25089: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:25082:1: error: unknown type name 'bool' 25082 | { | ^ configure:25078:1: note: 'bool' is defined in header ''; did you forget to '#include '? 25077 | #include +++ |+#include 25078 | #include configure:25082:10: error: 'false' undeclared (first use in this function) 25082 | { | ^ configure:25082:10: note: 'false' is defined in header ''; did you forget to '#include '? configure:25082:10: note: each undeclared identifier is reported only once for each function it appears in configure:25092: $? = 1 configure: failed program was: #line 25074 "configure" #include "confdefs.h" #include #include int main (void) { bool x = false ; return 0; } configure:25113: result: no configure:26754: checking for bool configure:26796: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:26799: $? = 0 configure:26802: test -s conftest.o configure:26805: $? = 0 configure:26815: result: yes configure:26818: checking size of bool configure:26860: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:26863: $? = 0 configure:26866: test -s conftest.o configure:26869: $? = 0 configure:26907: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:26900:5: error: size of array '_array_' is negative 26900 | { | ^ configure:26910: $? = 1 configure: failed program was: #line 26874 "configure" #include "confdefs.h" #include #include #if defined(__cplusplus) #ifdef HAVE_GXX_BUILTIN_H #include #elif HAVE_GPP_BUILTIN_H #include #elif HAVE_BUILTIN_H #include #endif #else #if 1 #include #endif #endif int main (void) { int _array_ [1 - 2 * !((sizeof (bool)) <= 0)] ; return 0; } configure:26907: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:26910: $? = 0 configure:26913: test -s conftest.o configure:26916: $? = 0 configure:27111: result: 1 configure:27117: checking for type of bool configure:27203: result: unsigned char configure:27886: checking for wchar_t configure:27907: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:27910: $? = 0 configure:27913: test -s conftest.o configure:27916: $? = 0 configure:27926: result: yes configure:27929: checking size of wchar_t configure:27950: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:27953: $? = 0 configure:27956: test -s conftest.o configure:27959: $? = 0 configure:27976: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:28002:5: error: size of array '_array_' is negative 28002 | #include "confdefs.h" | ^~~~~~~ configure:27979: $? = 1 configure: failed program was: #line 27964 "configure" #include "confdefs.h" #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif int main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) <= 0)] ; return 0; } configure:27976: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:28002:5: error: size of array '_array_' is negative 28002 | #include "confdefs.h" | ^~~~~~~ configure:27979: $? = 1 configure: failed program was: #line 27964 "configure" #include "confdefs.h" #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif int main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) <= 1)] ; return 0; } configure:27976: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure: In function 'main': configure:28002:5: error: size of array '_array_' is negative 28002 | #include "confdefs.h" | ^~~~~~~ configure:27979: $? = 1 configure: failed program was: #line 27964 "configure" #include "confdefs.h" #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif int main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) <= 3)] ; return 0; } configure:27976: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:27979: $? = 0 configure:27982: test -s conftest.o configure:27985: $? = 0 configure:28050: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:28053: $? = 0 configure:28056: test -s conftest.o configure:28059: $? = 0 configure:28050: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -fpic --param max-inline-insns-single=1200 -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -D_FORTIFY_SOURCE=1 -DPIC -DNDEBUG conftest.c >&5 configure:28053: $? = 0 configure:28056: test -s conftest.o configure:28059: $? = 0 configure:28117: result: 4 configure:28148: checking for library subsets configure:28202: result: termlib+ext_tinfo+base+widechar+ext_funcs configure:28233: checking default library suffix configure:28244: result: w configure:28247: checking default library-dependency suffix configure:28330: result: w.so configure:28333: checking default object directory configure:28349: result: obj_s configure:28711: checking where we will install curses.h configure:28721: result: ${prefix}/include configure:28757: checking for desired basename for form library configure:28777: result: form configure:28780: checking for desired basename for menu library configure:28800: result: menu configure:28803: checking for desired basename for panel library configure:28823: result: panel configure:28826: checking for desired basename for cxx library configure:28846: result: ncurses++ configure:28852: checking for src modules configure:28921: result: ncurses panel menu form configure:29093: checking for defines to add to ncursesw6-config script configure:29109: result: -DNCURSES_WIDECHAR configure:29197: checking for linker search path configure:29286: result: /usr/lib /lib configure:29376: creating ./config.status ## ----------------------- ## ## Running config.status. ## ## ----------------------- ## This file was extended by config.status 2.52.20221009, executed with CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = > "./config.status " on cb2a80d0fca4 config.status:30218: creating include/MKterm.h.awk config.status:30218: creating include/curses.head config.status:30218: creating include/ncurses_dll.h config.status:30218: creating include/termcap.h config.status:30218: creating include/unctrl.h config.status:30218: creating man/man_db.renames config.status:30218: creating include/Makefile config.status:30218: creating ncurses/Makefile config.status:30218: creating panel/Makefile config.status:30218: creating menu/Makefile config.status:30218: creating form/Makefile config.status:30218: creating misc/Makefile config.status:30218: creating misc/run_tic.sh config.status:30218: creating misc/ncurses-config config.status:30218: creating man/ncursesw6-config.1 config.status:30218: creating misc/gen-pkgconfig config.status:30218: creating Makefile config.status:30379: creating include/ncurses_cfg.h ## ----------------- ## ## Cache variables. ## ## ----------------- ## ac_cv_build='x86_64-pc-linux-gnu' ac_cv_build_alias='x86_64-pc-linux-gnu' ac_cv_c_bigendian='yes' ac_cv_c_compiler_gnu='yes' ac_cv_c_const='yes' ac_cv_c_gettext_without_libintl='yes' ac_cv_c_inline='inline' ac_cv_c_littleendian='no' ac_cv_c_long_double='no' ac_cv_conv_longlong_to_float='yes' ac_cv_cxx_compiler_gnu='yes' ac_cv_env_CC_set='set' ac_cv_env_CC_value='mips-openwrt-linux-musl-gcc' ac_cv_env_CFLAGS_set='set' ac_cv_env_CFLAGS_value='-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic ' ac_cv_env_CPPFLAGS_set='set' ac_cv_env_CPPFLAGS_value='-I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify ' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_CXXCPP_set='' ac_cv_env_CXXCPP_value='' ac_cv_env_CXXFLAGS_set='set' ac_cv_env_CXXFLAGS_value='-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/openwrt2305/build_dir/target-mips_24kc_musl/ncurses-6.4=ncurses-6.4 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -mips16 -minterlink-mips16 ' ac_cv_env_CXX_set='set' ac_cv_env_CXX_value='mips-openwrt-linux-musl-g++' ac_cv_env_LDFLAGS_set='set' ac_cv_env_LDFLAGS_value='-L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro ' ac_cv_env_build_alias_set='set' ac_cv_env_build_alias_value='x86_64-pc-linux-gnu' ac_cv_env_host_alias_set='set' ac_cv_env_host_alias_value='mips-openwrt-linux' ac_cv_env_target_alias_set='set' ac_cv_env_target_alias_value='mips-openwrt-linux' ac_cv_file__dev_zero='yes' ac_cv_func___adjtimex='yes' ac_cv_func___va_copy='no' ac_cv_func__exit='yes' ac_cv_func_bcmp='yes' ac_cv_func_bcopy='yes' ac_cv_func_btowc='yes' ac_cv_func_bzero='yes' ac_cv_func_cimag='yes' ac_cv_func_creal='yes' ac_cv_func_fchmod='yes' ac_cv_func_fork='yes' ac_cv_func_fork_works='yes' ac_cv_func_fpathconf='yes' ac_cv_func_fseeko='yes' ac_cv_func_getaddrinfo='yes' ac_cv_func_getcwd='yes' ac_cv_func_getdomainname='yes' ac_cv_func_getegid='yes' ac_cv_func_getenv='yes' ac_cv_func_geteuid='yes' ac_cv_func_getopt='yes' ac_cv_func_getpgrp_void='yes' ac_cv_func_getpwuid_r='yes' ac_cv_func_gettimeofday='yes' ac_cv_func_index='yes' ac_cv_func_issetugid='yes' ac_cv_func_link='yes' ac_cv_func_localeconv='yes' ac_cv_func_lstat='yes' ac_cv_func_lstat_dereferences_slashed_symlink='yes' ac_cv_func_lstat_empty_string_bug='no' ac_cv_func_malloc_0_nonnull='yes' ac_cv_func_malloc_works='yes' ac_cv_func_mblen='yes' ac_cv_func_mbrlen='yes' ac_cv_func_mbrtowc='yes' ac_cv_func_mbsrtowcs='yes' ac_cv_func_mbstowcs='yes' ac_cv_func_mbtowc='yes' ac_cv_func_memcmp_clean='yes' ac_cv_func_memcmp_working='yes' ac_cv_func_memmove='yes' ac_cv_func_mkstemp='yes' ac_cv_func_poll='yes' ac_cv_func_posix_getgrgid_r='yes' ac_cv_func_posix_getpwuid_r='yes' ac_cv_func_posix_openpt='yes' ac_cv_func_psignal='yes' ac_cv_func_pthread_key_delete='yes' ac_cv_func_putenv='yes' ac_cv_func_putwc='yes' ac_cv_func_realloc_0_nonnull='yes' ac_cv_func_realloc_works='yes' ac_cv_func_regcomp='yes' ac_cv_func_remove='yes' ac_cv_func_rename='yes' ac_cv_func_rindex='yes' ac_cv_func_select='yes' ac_cv_func_setbuf='yes' ac_cv_func_setbuffer='yes' ac_cv_func_setenv='yes' ac_cv_func_setfsuid='yes' ac_cv_func_setgrent_void='yes' ac_cv_func_setlocale='yes' ac_cv_func_setpgrp_void='yes' ac_cv_func_setresuid='yes' ac_cv_func_setvbuf='yes' ac_cv_func_setvbuf_reversed='no' ac_cv_func_sigaction='yes' ac_cv_func_sigvec='no' ac_cv_func_snprintf='yes' ac_cv_func_stat_empty_string_bug='no' ac_cv_func_stat_ignores_trailing_slash='no' ac_cv_func_strdup='yes' ac_cv_func_strerror='yes' ac_cv_func_strftime='yes' ac_cv_func_strstr='yes' ac_cv_func_symlink='yes' ac_cv_func_sysconf='yes' ac_cv_func_tcgetpgrp='yes' ac_cv_func_times='yes' ac_cv_func_tsearch='yes' ac_cv_func_unlink='yes' ac_cv_func_utimes='yes' ac_cv_func_va_copy='no' ac_cv_func_vfork='yes' ac_cv_func_vfork_works='yes' ac_cv_func_vsnprintf='yes' ac_cv_func_wcsrtombs='yes' ac_cv_func_wcstombs='yes' ac_cv_func_wctob='yes' ac_cv_func_wctomb='yes' ac_cv_func_wmemchr='yes' ac_cv_have_accrights_in_msghdr='no' ac_cv_have_broken_snprintf='no' ac_cv_have_control_in_msghdr='yes' ac_cv_have_decl_sys_siglist='no' ac_cv_have_openpty_ctty_bug='yes' ac_cv_have_space_d_name_in_struct_dirent='yes' ac_cv_header_dirent_dirent_h='yes' ac_cv_header_fcntl_h='yes' ac_cv_header_getopt_h='yes' ac_cv_header_gpm_h='no' ac_cv_header_inttypes_h='yes' ac_cv_header_limits_h='yes' ac_cv_header_locale_h='yes' ac_cv_header_math_h='yes' ac_cv_header_memory_h='yes' ac_cv_header_netinet_sctp_uio_h='no' ac_cv_header_poll_h='yes' ac_cv_header_stdc='yes' ac_cv_header_stdint_h='yes' ac_cv_header_stdlib_h='yes' ac_cv_header_string_h='yes' ac_cv_header_strings_h='yes' ac_cv_header_sys_ioctl_h='yes' ac_cv_header_sys_param_h='yes' ac_cv_header_sys_poll_h='yes' ac_cv_header_sys_select_h='yes' ac_cv_header_sys_stat_h='yes' ac_cv_header_sys_termio_h='no' ac_cv_header_sys_time_h='yes' ac_cv_header_sys_times_h='yes' ac_cv_header_sys_types_h='yes' ac_cv_header_termio_h='no' ac_cv_header_termios_h='yes' ac_cv_header_time='yes' ac_cv_header_unistd_h='yes' ac_cv_header_vfork_h='no' ac_cv_header_wchar_h='yes' ac_cv_header_wctype_h='yes' ac_cv_host='mips-openwrt-linux-gnu' ac_cv_host_alias='mips-openwrt-linux' ac_cv_int64_t='yes' ac_cv_lbl_unaligned_fail='no' ac_cv_lib_dir_opendir='no' ac_cv_lib_util_openpty='yes' ac_cv_linux_kernel_pppoe='yes' ac_cv_linux_vers='2' ac_cv_objext='o' ac_cv_pack_bitfields_reversed='yes' ac_cv_path_EGREP='grep -E' ac_cv_path_FGREP='grep -F' ac_cv_path_LDCONFIG='' ac_cv_path_PKG_CONFIG='/home/user/openwrt2305/staging_dir/host/bin/pkg-config' ac_cv_path_install='/home/user/openwrt2305/staging_dir/host/bin/install -c' ac_cv_prog_AR='mips-openwrt-linux-musl-gcc-ar' ac_cv_prog_AWK='mawk' ac_cv_prog_BUILD_CC='gcc' ac_cv_prog_CC='mips-openwrt-linux-musl-gcc' ac_cv_prog_CPP='mips-openwrt-linux-musl-gcc -E' ac_cv_prog_CXX='mips-openwrt-linux-musl-g++' ac_cv_prog_GREP='grep' ac_cv_prog_LD='mips-openwrt-linux-musl-ld.bfd' ac_cv_prog_MAKE_LOWER_TAGS='no' ac_cv_prog_MAKE_UPPER_TAGS='no' ac_cv_prog_NM='mips-openwrt-linux-musl-gcc-nm' ac_cv_prog_RANLIB='mips-openwrt-linux-musl-gcc-ranlib' ac_cv_prog_ac_ct_INFOCMP='infocmp' ac_cv_prog_ac_ct_TIC='tic' ac_cv_prog_cc_g='yes' ac_cv_prog_cc_stdc='' ac_cv_prog_cxx_g='yes' ac_cv_prog_gcc_traditional='no' ac_cv_prog_make_make_set='yes' ac_cv_regexec_segfault_emptystr='no' ac_cv_sctp='no' ac_cv_size_t='yes' ac_cv_sizeof___int64='0' ac_cv_sizeof_bool='1' ac_cv_sizeof_char='1' ac_cv_sizeof_int='4' ac_cv_sizeof_int16_t='2' ac_cv_sizeof_int32_t='4' ac_cv_sizeof_int64_t='8' ac_cv_sizeof_long='4' ac_cv_sizeof_long_int='4' ac_cv_sizeof_long_long='8' ac_cv_sizeof_off_t='8' ac_cv_sizeof_short='2' ac_cv_sizeof_short_int='2' ac_cv_sizeof_signed_char='1' ac_cv_sizeof_size_t='4' ac_cv_sizeof_ssize_t='4' ac_cv_sizeof_u_int16_t='2' ac_cv_sizeof_u_int32_t='4' ac_cv_sizeof_u_int64_t='8' ac_cv_sizeof_uint16_t='2' ac_cv_sizeof_uint32_t='4' ac_cv_sizeof_uint64_t='8' ac_cv_sizeof_unsigned_int='4' ac_cv_sizeof_unsigned_long='4' ac_cv_sizeof_unsigned_long_long='8' ac_cv_sizeof_unsigned_short='2' ac_cv_sizeof_void_p='4' ac_cv_sizeof_wchar_t='4' ac_cv_ssize_t='yes' ac_cv_sys_file_offset_bits='no' ac_cv_sys_large_files='no' ac_cv_sys_largefile_CC='no' ac_cv_sys_largefile_source='no' ac_cv_sys_long_file_names='yes' ac_cv_sys_restartable_syscalls='yes' ac_cv_target='mips-openwrt-linux-gnu' ac_cv_target_alias='mips-openwrt-linux' ac_cv_time_r_type='POSIX' ac_cv_type_bool='yes' ac_cv_type_intptr_t='yes' ac_cv_type_pid_t='yes' ac_cv_type_signed_char='yes' ac_cv_type_ssize_t='yes' ac_cv_type_suseconds_t='yes' ac_cv_type_wchar_t='yes' ac_cv_uchar='no' ac_cv_uint='yes' ac_cv_uint64_t='yes' ac_cv_uintptr_t='yes' ac_cv_ulong='yes' ac_cv_ushort='yes' ac_cv_va_copy='C99' ac_cv_va_val_copy='yes' am_cv_langinfo_codeset='yes' as_cv_unaligned_access='yes' cf_cv_1UL='1U' cf_cv_PATH_TTYS='no' cf_cv_abi_version='6' cf_cv_ar_flags='-curvD' cf_cv_builtin_bool='1' cf_cv_c11_noreturn='no,' cf_cv_cc_bool_type='0' cf_cv_consistent_getenv='unknown' cf_cv_dcl_environ='no' cf_cv_dcl_errno='yes' cf_cv_define_sigwinch='yes' cf_cv_do_relink='yes' cf_cv_do_reranlib='yes' cf_cv_do_symlinks='yes' cf_cv_enable_lp64='1' cf_cv_enable_opaque='NCURSES_OPAQUE' cf_cv_enable_reentrant='0' cf_cv_enable_rpath='no' cf_cv_fopen_bin_r='unknown' cf_cv_func_mkstemp='maybe' cf_cv_func_nanosleep='unknown' cf_cv_func_openpty='pty.h' cf_cv_func_vsscanf='vsscanf' cf_cv_gcc_inline='yes' cf_cv_getopt_header='unistd.h' cf_cv_gnu_library='no' cf_cv_have_environ='yes' cf_cv_have_errno='no' cf_cv_have_isascii='yes' cf_cv_have_libm='yes' cf_cv_have_tcgetattr='yes' cf_cv_have_va_copy='yes' cf_cv_header_stdbool_h='1' cf_cv_install_p='yes' cf_cv_ld_searchpath='/usr/lib /lib' cf_cv_lib_util='yes' cf_cv_link_dataonly='unknown' cf_cv_make_PHONY='yes' cf_cv_makeflags='-${MAKEFLAGS}' cf_cv_mbstate_t='yes' cf_cv_mixedcase='yes' cf_cv_need_libm='no' cf_cv_posix_visible='no' cf_cv_prog_CC_c_o='yes' cf_cv_regex_hdrs='regex.h' cf_cv_rel_version='6.4' cf_cv_rm_so_locs='no' cf_cv_shared_soname='`basename $@ .${REL_VERSION}`.${ABI_VERSION}' cf_cv_shlib_version='rel' cf_cv_shlib_version_infix='no' cf_cv_sig_atomic_t='volatile sig_atomic_t' cf_cv_sizechange='yes' cf_cv_src_modules='ncurses panel menu form' cf_cv_struct_dirent64='no' cf_cv_sys_time_select='yes' cf_cv_system_name='linux-gnu' cf_cv_timestamp='Tue Oct 22 21:07:40 UTC 2024' cf_cv_type_of_bool='unsigned char' cf_cv_type_sigaction='no' cf_cv_typeof_chtype='uint32_t' cf_cv_typeof_mmask_t='uint32_t' cf_cv_unsigned_literals='yes' cf_cv_wchar_h_okay='yes' cf_cv_wchar_t='no' cf_cv_wcwidth_graphics='unknown' cf_cv_wint_t='yes' cf_cv_working_poll='unknown' ## ------------ ## ## confdefs.h. ## ## ------------ ## #define PACKAGE "ncurses" #define NCURSES_VERSION "6.4" #define NCURSES_PATCHDATE 20221231 #define SYSTEM_NAME "linux-gnu" #ifdef __cplusplus #include #endif #define HAVE_LONG_FILE_NAMES 1 #define MIXEDCASE_FILENAMES 1 #define TERMINFO_DIRS "/usr/share/terminfo" #define TERMINFO "/usr/share/terminfo" #define PURE_TERMINFO 1 #define USE_ROOT_ENVIRON 1 #define USE_ROOT_ACCESS 1 #define HAVE_UNISTD_H 1 #define HAVE_REMOVE 1 #define HAVE_UNLINK 1 #define HAVE_LINK 1 #define HAVE_SYMLINK 1 #define USE_LINKS 1 #define HAVE_LANGINFO_CODESET 1 #define USE_WIDEC_SUPPORT 1 #define NCURSES_WIDECHAR 1 #define HAVE_WCHAR_H 1 #define HAVE_WCTYPE_H 1 #define HAVE_PUTWC 1 #define HAVE_BTOWC 1 #define HAVE_WCTOB 1 #define HAVE_WMEMCHR 1 #define HAVE_MBTOWC 1 #define HAVE_WCTOMB 1 #define HAVE_MBLEN 1 #define HAVE_MBRLEN 1 #define HAVE_MBRTOWC 1 #define HAVE_WCSRTOMBS 1 #define HAVE_MBSRTOWCS 1 #define HAVE_WCSTOMBS 1 #define HAVE_MBSTOWCS 1 #define NEED_WCHAR_H 1 #define NEED_WCHAR_H 1 #define HAVE_FSEEKO 1 #define RGB_PATH "/usr/lib64/X11/rgb.txt" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_SIGNED_CHAR 1 #define NCURSES_EXT_FUNCS 1 #define HAVE_ASSUME_DEFAULT_COLORS 1 #define HAVE_CURSES_VERSION 1 #define HAVE_HAS_KEY 1 #define HAVE_RESIZETERM 1 #define HAVE_RESIZE_TERM 1 #define HAVE_TERM_ENTRY_H 1 #define HAVE_USE_DEFAULT_COLORS 1 #define HAVE_USE_EXTENDED_NAMES 1 #define HAVE_USE_SCREEN 1 #define HAVE_USE_WINDOW 1 #define HAVE_WRESIZE 1 #define NCURSES_SP_FUNCS 1 #define HAVE_TPUTS_SP 1 #define NCURSES_EXT_COLORS 1 #define HAVE_ALLOC_PAIR 1 #define HAVE_INIT_EXTENDED_COLOR 1 #define HAVE_RESET_COLOR_PAIRS 1 #define NCURSES_EXT_PUTWIN 1 #define NCURSES_NO_PADDING 1 #define USE_SIGWINCH 1 #define NCURSES_WRAP_PREFIX "_nc_" #define USE_ASSUMED_COLOR 1 #define USE_HASHMAP 1 #define GCC_SCANF 1 #define GCC_SCANF 1 #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) #define GCC_PRINTF 1 #define GCC_PRINTF 1 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) #define GCC_UNUSED __attribute__((unused)) #define GCC_UNUSED __attribute__((unused)) #define GCC_NORETURN __attribute__((noreturn)) #define GCC_NORETURN __attribute__((noreturn)) #define HAVE_NC_ALLOC_H 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_MATH_FUNCS 1 #define STDC_HEADERS 1 #define HAVE_DIRENT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_REGEX_H_FUNCS 1 #define HAVE_FCNTL_H 1 #define HAVE_GETOPT_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_MATH_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_WCTYPE_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETOPT_H 1 #define HAVE_GETOPT_HEADER 1 #define DECL_ENVIRON 1 #define HAVE_ENVIRON 1 #define HAVE_PUTENV 1 #define HAVE_SETENV 1 #define HAVE_STRDUP 1 #define HAVE_SYS_TIME_SELECT 1 #define SIG_ATOMIC_T volatile sig_atomic_t #define HAVE_FPATHCONF 1 #define HAVE_GETCWD 1 #define HAVE_GETEGID 1 #define HAVE_GETEUID 1 #define HAVE_GETOPT 1 #define HAVE_ISSETUGID 1 #define HAVE_LOCALECONV 1 #define HAVE_POLL 1 #define HAVE_PUTENV 1 #define HAVE_REMOVE 1 #define HAVE_SELECT 1 #define HAVE_SETBUF 1 #define HAVE_SETBUFFER 1 #define HAVE_SETENV 1 #define HAVE_SETFSUID 1 #define HAVE_SETVBUF 1 #define HAVE_SIGACTION 1 #define HAVE_SNPRINTF 1 #define HAVE_STRDUP 1 #define HAVE_STRSTR 1 #define HAVE_SYSCONF 1 #define HAVE_TCGETPGRP 1 #define HAVE_TIMES 1 #define HAVE_TSEARCH 1 #define HAVE_VSNPRINTF 1 #define HAVE_ISASCII 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_TCGETATTR 1 #define HAVE_VSSCANF 1 #define HAVE_UNISTD_H 1 #define HAVE_MKSTEMP 1 #define HAVE_SIZECHANGE 1 #define HAVE_POSIX_OPENPT 1 #define HAVE_VA_COPY 1 #define HAVE_UNISTD_H 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define USE_FOPEN_BIN_R 1 #define USE_OPENPTY_HEADER #define USE_XTERM_PTY 1 #define SIZEOF_BOOL 1 #define SIZEOF_WCHAR_T 4 #define HAVE_SLK_COLOR 1 #define HAVE_PANEL_H 1 #define HAVE_LIBPANEL 1 #define HAVE_MENU_H 1 #define HAVE_LIBMENU 1 #define HAVE_FORM_H 1 #define HAVE_LIBFORM 1 #define NCURSES_PATHSEP ':' #define NCURSES_VERSION_STRING "6.4.20221231" #define NCURSES_OSPEED_COMPAT 1 #define HAVE_CURSES_DATA_BOOLNAMES 1 configure: exit 0