This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by curl configure -, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-pc-linux-gnu --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 --disable-debug --disable-ares --enable-shared --enable-static --disable-manual --without-nss --without-libmetalink --without-librtmp --without-libidn --without-ca-path --without-libpsl --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --enable-ipv6 --without-cyassl --without-gnutls --without-ssl --with-mbedtls=/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr --without-libidn2 --without-libssh2 --without-zlib --without-nghttp2 --disable-dict --enable-file --enable-ftp --disable-gopher --enable-http --disable-imap --disable-ldap --disable-ldaps --disable-pop3 --disable-rtsp --disable-smb --disable-smtp --disable-telnet --disable-tftp --enable-cookies --disable-crypto-auth --disable-libcurl-option --enable-proxy --disable-threaded-resolver --disable-tls-srp --disable-unix-sockets --disable-verbose ## --------- ## ## Platform. ## ## --------- ## hostname = 608ab16b5345 uname -m = x86_64 uname -r = 5.4.0-176-generic uname -s = Linux uname -v = #196-Ubuntu SMP Fri Mar 22 16:46:39 UTC 2024 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/host/bin PATH: /home/user/librerouteros-C60/staging_dir/hostpkg/bin PATH: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C60/staging_dir/host/bin PATH: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C60/staging_dir/host/bin PATH: /home/user/librerouteros-C60/staging_dir/host/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2911: loading site script /home/user/librerouteros-C60/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:3022: checking whether to enable maintainer-specific portions of Makefiles configure:3031: result: no configure:3055: checking whether make supports nested variables configure:3072: result: yes configure:3086: checking whether to enable debug build options configure:3108: result: no configure:3112: checking whether to enable compiler optimizer configure:3133: result: (assumed) yes configure:3145: checking whether to enable strict compiler warnings configure:3164: result: no configure:3168: checking whether to enable compiler warnings as errors configure:3187: result: no configure:3191: checking whether to enable curl debug memory tracking configure:3213: result: no configure:3230: checking whether to enable hiding of library internal symbols configure:3251: result: yes configure:3262: checking whether to enable c-ares for DNS lookups configure:3284: result: no configure:3288: checking whether to disable dependency on -lrt configure:3304: result: (assumed no) configure:3333: checking for path separator configure:3335: result: : configure:3366: checking for sed configure:3385: found /home/user/librerouteros-C60/staging_dir/host/bin/sed configure:3398: result: /home/user/librerouteros-C60/staging_dir/host/bin/sed configure:3415: checking for grep configure:3434: found /home/user/librerouteros-C60/staging_dir/host/bin/grep configure:3447: result: /home/user/librerouteros-C60/staging_dir/host/bin/grep configure:3463: checking for egrep configure:3466: result: /home/user/librerouteros-C60/staging_dir/host/bin/grep -E configure:3761: using CFLAGS: -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections configure:3767: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:3798: WARNING: Continuing even with errors mentioned immediately above this line. configure:3845: checking for a BSD-compatible install configure:3913: result: /usr/bin/install -c configure:3935: checking for mips-openwrt-linux-gcc configure:3962: result: mips-openwrt-linux-musl-gcc configure:4231: checking for C compiler version configure:4240: mips-openwrt-linux-musl-gcc --version >&5 mips-openwrt-linux-musl-gcc (OpenWrt GCC 7.5.0 r11439-e851db8c6e) 7.5.0 Copyright (C) 2017 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:4251: $? = 0 configure:4240: mips-openwrt-linux-musl-gcc -v >&5 Reading specs from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/specs COLLECT_GCC=mips-openwrt-linux-musl-gcc COLLECT_LTO_WRAPPER=/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/libexec/gcc/mips-openwrt-linux-musl/7.5.0/lto-wrapper Target: mips-openwrt-linux-musl Configured with: /home/user/librerouteros-C60/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/configure --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion='OpenWrt GCC 7.5.0 r11439-e851db8c6e' --prefix=/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.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 --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-gmp=/home/user/librerouteros-C60/staging_dir/host --with-mpfr=/home/user/librerouteros-C60/staging_dir/host --with-mpc=/home/user/librerouteros-C60/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --with-mips-plt --disable-libssp --enable-__cxa_atexit --with-headers=/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include --disable-libsanitizer --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib --enable-lto --with-libelf=/home/user/librerouteros-C60/staging_dir/host Thread model: posix gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11439-e851db8c6e) configure:4251: $? = 0 configure:4240: 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:4251: $? = 1 configure:4240: mips-openwrt-linux-musl-gcc -qversion >&5 mips-openwrt-linux-musl-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? mips-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:4251: $? = 1 configure:4270: checking whether the C compiler works configure:4292: mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:4296: $? = 0 configure:4344: result: yes configure:4347: checking for C compiler default output file name configure:4349: result: a.out configure:4355: checking for suffix of executables configure:4362: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:4366: $? = 0 configure:4388: result: configure:4409: checking whether we are cross compiling configure:4447: result: yes configure:4452: checking for suffix of object files configure:4473: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4477: $? = 0 configure:4498: result: o configure:4502: checking whether we are using the GNU C compiler configure:4520: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4520: $? = 0 configure:4529: result: yes configure:4538: checking whether mips-openwrt-linux-musl-gcc accepts -g configure:4557: mips-openwrt-linux-musl-gcc -c -g -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4557: $? = 0 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int main (void) | { | | ; | return 0; | } configure:4571: mips-openwrt-linux-musl-gcc -c -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4571: $? = 0 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int main (void) | { | | ; | return 0; | } configure:4586: mips-openwrt-linux-musl-gcc -c -g -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4586: $? = 0 configure:4596: result: yes configure:4613: checking for mips-openwrt-linux-musl-gcc option to accept ISO C89 configure:4675: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4675: $? = 0 configure:4688: result: none needed configure:4713: checking whether mips-openwrt-linux-musl-gcc understands -c and -o together configure:4734: mips-openwrt-linux-musl-gcc -c conftest.c -o conftest2.o cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4737: $? = 0 configure:4734: mips-openwrt-linux-musl-gcc -c conftest.c -o conftest2.o cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4737: $? = 0 configure:4749: result: yes configure:4772: checking how to run the C preprocessor configure:4803: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c configure:4803: $? = 0 configure:4817: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4817: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4842: result: mips-openwrt-linux-musl-gcc -E configure:4862: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c configure:4862: $? = 0 configure:4876: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4876: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4916: checking for a sed that does not truncate output configure:4980: result: /home/user/librerouteros-C60/staging_dir/host/bin/sed configure:4988: checking for code coverage support configure:5002: result: no configure:5152: checking whether build environment is sane configure:5207: result: yes configure:5261: checking for mips-openwrt-linux-strip configure:5288: result: mips-openwrt-linux-musl-strip configure:5353: checking for a thread-safe mkdir -p configure:5392: result: /bin/mkdir -p configure:5399: checking for gawk configure:5415: found /usr/bin/gawk configure:5426: result: gawk configure:5437: checking whether make sets $(MAKE) configure:5459: result: yes configure:5489: checking for style of include used by make configure:5517: result: GNU configure:5618: checking dependency style of mips-openwrt-linux-musl-gcc configure:5729: result: gcc3 configure:5792: checking curl version configure:5794: result: 7.66.0 configure:5840: checking build system type configure:5854: result: x86_64-pc-linux-gnu configure:5874: checking host system type configure:5887: result: mips-openwrt-linux-gnu configure:5919: checking for grep that handles long lines and -e configure:5977: result: /home/user/librerouteros-C60/staging_dir/host/bin/grep configure:5982: checking for egrep configure:6044: result: /home/user/librerouteros-C60/staging_dir/host/bin/grep -E configure:6051: checking if OS is AIX (to define _ALL_SOURCE) configure:6071: result: no configure:6081: checking if _THREAD_SAFE is already defined configure:6102: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:6102: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _THREAD_SAFE | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6110: result: no configure:6118: checking if _THREAD_SAFE is actually needed configure:6137: result: no configure:6142: checking if _THREAD_SAFE is onwards defined configure:6159: result: no configure:6166: checking if _REENTRANT is already defined configure:6187: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:6187: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _REENTRANT | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6195: result: no configure:6203: checking if _REENTRANT is actually needed configure:6234: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6234: $? = 0 configure:6265: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6265: $? = 0 configure:6336: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6336: $? = 0 configure:6415: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6415: $? = 0 configure:6494: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6494: $? = 0 configure:6573: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6573: $? = 0 configure:6652: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccvpYBtw.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:6652: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:6735: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6735: $? = 0 configure:6814: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6814: $? = 0 configure:6893: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccWjRY2D.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `getprotobyname_r' collect2: error: ld returned 1 exit status configure:6893: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | /* end confdefs.h. */ | | | #define getprotobyname_r innocuous_getprotobyname_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getprotobyname_r | #ifdef __cplusplus | extern "C" | #endif | char getprotobyname_r (); | #if defined __stub_getprotobyname_r || defined __stub___getprotobyname_r | choke me | #endif | | int main (void) | { | return getprotobyname_r (); | ; | return 0; | } | configure:6972: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:6972: $? = 0 configure:7028: result: no configure:7033: checking if _REENTRANT is onwards defined configure:7050: result: no configure:7063: checking for special C compiler options needed for large files configure:7107: result: no configure:7113: checking for _FILE_OFFSET_BITS value needed for large files configure:7137: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:7137: $? = 0 configure:7168: result: no configure:7298: checking how to print strings configure:7325: result: printf configure:7346: checking for a sed that does not truncate output configure:7410: result: /home/user/librerouteros-C60/staging_dir/host/bin/sed configure:7427: checking for fgrep configure:7489: result: /home/user/librerouteros-C60/staging_dir/host/bin/grep -F configure:7524: checking for ld used by mips-openwrt-linux-musl-gcc configure:7591: result: mips-openwrt-linux-musl-ld configure:7598: checking if the linker (mips-openwrt-linux-musl-ld) is GNU ld configure:7613: result: yes configure:7625: checking for BSD- or MS-compatible name lister (nm) configure:7674: result: mips-openwrt-linux-musl-gcc-nm configure:7804: checking the name lister (mips-openwrt-linux-musl-gcc-nm) interface configure:7811: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:7814: mips-openwrt-linux-musl-gcc-nm "conftest.o" configure:7817: output 00000000 B some_variable configure:7818: result: BSD nm configure:7821: checking whether ln -s works configure:7825: result: yes configure:7833: checking the maximum length of command line arguments configure:7958: result: 1572864 configure:7975: checking whether the shell understands some XSI constructs configure:7984: result: yes configure:7988: checking whether the shell understands "+=" configure:7992: result: yes configure:8027: checking how to convert x86_64-pc-linux-gnu file names to mips-openwrt-linux-gnu format configure:8067: result: func_convert_file_noop configure:8074: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8094: result: func_convert_file_noop configure:8101: checking for mips-openwrt-linux-musl-ld option to reload object files configure:8108: result: -r configure:8142: checking for mips-openwrt-linux-objdump configure:8169: result: mips-openwrt-linux-musl-objdump configure:8238: checking how to recognize dependent libraries configure:8440: result: pass_all configure:8485: checking for mips-openwrt-linux-dlltool configure:8515: result: no configure:8525: checking for dlltool configure:8555: result: no configure:8582: checking how to associate runtime and link libraries configure:8609: result: printf %s\n configure:8625: checking for mips-openwrt-linux-ar configure:8652: result: mips-openwrt-linux-musl-gcc-ar configure:8733: checking for archiver @FILE support configure:8749: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:8749: $? = 0 configure:8752: mips-openwrt-linux-musl-gcc-ar cr libconftest.a @conftest.lst >&5 configure:8755: $? = 0 configure:8760: mips-openwrt-linux-musl-gcc-ar cr libconftest.a @conftest.lst >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ar: conftest.o: No such file or directory configure:8763: $? = 1 configure:8762: result: @ configure:8780: checking for mips-openwrt-linux-strip configure:8807: result: mips-openwrt-linux-musl-strip configure:8879: checking for mips-openwrt-linux-ranlib configure:8906: result: mips-openwrt-linux-musl-gcc-ranlib configure:9047: checking command to parse mips-openwrt-linux-musl-gcc-nm output from mips-openwrt-linux-musl-gcc object configure:9166: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:9169: $? = 0 configure:9173: mips-openwrt-linux-musl-gcc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:9176: $? = 0 configure:9242: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c conftstm.o >&5 configure:9245: $? = 0 configure:9283: result: ok configure:9320: checking for sysroot configure:9350: result: no configure:9552: checking for mips-openwrt-linux-mt configure:9582: result: no configure:9592: checking for mt configure:9608: found /bin/mt configure:9619: result: mt configure:9631: WARNING: using cross tools not prefixed with host triplet configure:9642: checking if mt is a manifest tool configure:9648: mt '-?' configure:9656: result: no configure:10282: checking for ANSI C header files configure:10301: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10301: $? = 0 configure:10385: result: yes configure:10398: checking for sys/types.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for sys/stat.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for stdlib.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for string.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for memory.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for strings.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for inttypes.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for stdint.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10398: checking for unistd.h configure:10398: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10398: $? = 0 configure:10398: result: yes configure:10412: checking for dlfcn.h configure:10412: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10412: $? = 0 configure:10412: result: yes configure:11004: checking for objdir configure:11019: result: .libs configure:11289: checking if mips-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:11307: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:11311: $? = 0 configure:11324: result: no configure:11634: checking for mips-openwrt-linux-musl-gcc option to produce PIC configure:11641: result: -fPIC -DPIC configure:11649: checking if mips-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works configure:11667: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -fPIC -DPIC -DPIC conftest.c >&5 configure:11671: $? = 0 configure:11684: result: yes configure:11713: checking if mips-openwrt-linux-musl-gcc static flag -static works configure:11741: result: yes configure:11756: checking if mips-openwrt-linux-musl-gcc supports -c -o file.o configure:11777: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -o out/conftest2.o conftest.c >&5 configure:11781: $? = 0 configure:11803: result: yes configure:11811: checking if mips-openwrt-linux-musl-gcc supports -c -o file.o configure:11858: result: yes configure:11891: checking whether the mips-openwrt-linux-musl-gcc linker (mips-openwrt-linux-musl-ld) supports shared libraries configure:13047: result: yes configure:13084: checking whether -lc should be explicitly linked in configure:13092: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:13095: $? = 0 configure:13110: mips-openwrt-linux-musl-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /home/user/librerouteros-C60/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:13113: $? = 0 configure:13127: result: no configure:13292: checking dynamic linker characteristics configure:13805: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -Wl,-rpath -Wl,/foo conftest.c >&5 configure:13805: $? = 0 configure:14027: result: GNU/Linux ld.so configure:14134: checking how to hardcode library paths into programs configure:14159: result: immediate configure:14684: checking whether stripping libraries is possible configure:14689: result: yes configure:14724: checking if libtool supports shared libraries configure:14726: result: yes configure:14729: checking whether to build shared libraries configure:14750: result: yes configure:14753: checking whether to build static libraries configure:14757: result: yes configure:11841: checking whether to build shared libraries with -version-info configure:11852: result: yes configure:11859: checking whether to build shared libraries with -no-undefined configure:11872: result: no configure:11879: checking whether to build shared libraries with -mimpure-text configure:11889: result: no configure:11916: checking whether to build shared libraries with PIC configure:11918: result: yes configure:11920: checking whether to build static libraries with PIC configure:11922: result: no configure:11929: checking whether to build shared libraries only configure:11937: result: no configure:11944: checking whether to build static libraries only configure:11952: result: no configure:12042: checking for inline configure:12058: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:12058: $? = 0 configure:12066: result: inline configure:12087: checking if cpp -P is needed configure:12104: result: yes configure:12108: checking if cpp -P works configure:12127: result: yes configure:12160: checking if compiler is DEC/Compaq/HP C configure:12184: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12184: $? = 0 configure:12228: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12228: $? = 0 configure:12262: result: no configure:12267: checking if compiler is HP-UX C configure:12291: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12291: $? = 0 configure:12324: result: no configure:12329: checking if compiler is IBM C configure:12353: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12353: $? = 0 configure:12394: result: no configure:12399: checking if compiler is Intel C configure:12423: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12423: $? = 0 configure:12518: result: no configure:12523: checking if compiler is clang configure:12547: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12547: $? = 0 configure:12653: result: no configure:12658: checking if compiler is GNU C configure:12682: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12682: $? = 0 configure:12706: result: yes configure:12748: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12748: $? = 0 configure:12776: checking if compiler is LCC configure:12800: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12800: $? = 0 configure:12833: result: no configure:12838: checking if compiler is SGI MIPSpro C configure:12862: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12862: $? = 0 configure:12906: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12906: $? = 0 configure:12950: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:12950: $? = 0 configure:12985: result: no configure:12990: checking if compiler is SGI MIPS C configure:13014: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:13014: $? = 0 configure:13058: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:13058: $? = 0 configure:13093: result: no configure:13098: checking if compiler is SunPro C configure:13122: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:13122: $? = 0 configure:13155: result: no configure:13160: checking if compiler is Tiny C configure:13184: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:13184: $? = 0 configure:13217: result: no configure:13222: checking if compiler is Watcom C configure:13246: mips-openwrt-linux-musl-gcc -E -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -P conftest.c configure:13246: $? = 0 configure:13333: result: no configure:13505: checking if compiler accepts some basic options configure:13529: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:13529: $? = 0 configure:13559: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:13559: $? = 0 configure:13625: result: yes configure:13627: compiler options added: -Werror-implicit-function-declaration configure:13694: checking if compiler accepts debug disabling options configure:13726: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:13726: $? = 0 configure:13756: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:13756: $? = 0 configure:13822: result: yes configure:13824: compiler options added: configure:13856: checking if compiler optimizer assumed setting might be used configure:13894: result: no configure:14390: checking if compiler accepts strict warning options configure:14414: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:14414: $? = 0 configure:14444: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:14444: $? = 0 configure:14510: result: yes configure:14512: compiler options added: -Wno-system-headers configure:14542: checking if compiler halts on compilation errors configure:14559: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:30:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:30:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:14559: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:14567: result: yes configure:14574: checking if compiler halts on negative sized arrays configure:14592: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:26:20: error: size of array 'bad_t' is negative typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; ^~~~~ configure:14592: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; | | int main (void) | { | | bad_t dummy; | | ; | return 0; | } | configure:14600: result: yes configure:14607: checking if compiler halts on function prototype mismatch configure:14636: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:27:11: error: conflicting types for 'rand' int rand(int n); ^~~~ In file included from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/stdlib.h:22:0, from conftest.c:26: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/stdlib.h:35:5: note: previous declaration of 'rand' was here int rand (void); ^~~~ conftest.c:28:11: error: conflicting types for 'rand' int rand(int n) ^~~~ In file included from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/stdlib.h:22:0, from conftest.c:26: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/stdlib.h:35:5: note: previous declaration of 'rand' was here int rand (void); ^~~~ configure:14636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | # include | int rand(int n); | int rand(int n) | { | if(n) | return ++n; | else | return n; | } | | int main (void) | { | | int i[2]={0,0}; | int j = rand(i[0]); | if(j) | return j; | | ; | return 0; | } | configure:14644: result: yes configure:14651: checking if compiler supports hiding library internal symbols configure:14745: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -fvisibility=hidden -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:14745: $? = 0 configure:14768: result: yes configure:14872: checking for windows.h configure:14902: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:30:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:14902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int main (void) | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:14914: result: no configure:14927: checking whether build target is a native Windows one configure:14969: result: no configure:15281: checking whether build target supports WIN32 file API configure:15362: result: no configure:15377: checking for good-to-use Mac CFLAGS configure:15379: result: no configure:15425: checking to see if the compiler supports __builtin_available() configure:15443: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:31:11: error: implicit declaration of function '__builtin_available'; did you mean '__builtin_scalbl'? [-Werror=implicit-function-declaration] if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~~~~~~~~~~~~~~~~ __builtin_scalbl conftest.c:31:31: error: 'macOS' undeclared (first use in this function) if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~~ conftest.c:31:31: note: each undeclared identifier is reported only once for each function it appears in conftest.c:31:37: error: expected ')' before numeric constant if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~ cc1: some warnings being treated as errors configure:15443: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #include | | int main (void) | { | | if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} | | ; | return 0; | } | configure:15455: result: no configure:15463: checking whether to support http configure:15485: result: yes configure:15495: checking whether to support ftp configure:15509: result: yes configure:15519: checking whether to support file configure:15533: result: yes configure:15543: checking whether to support ldap configure:15549: result: no configure:15569: checking whether to support ldaps configure:15575: result: no configure:15625: checking whether to support rtsp configure:15631: result: no configure:15661: checking whether to support proxies configure:15675: result: yes configure:15686: checking whether to support dict configure:15692: result: no configure:15710: checking whether to support telnet configure:15716: result: no configure:15734: checking whether to support tftp configure:15740: result: no configure:15759: checking whether to support pop3 configure:15765: result: no configure:15785: checking whether to support imap configure:15791: result: no configure:15811: checking whether to support smb configure:15817: result: no configure:15836: checking whether to support smtp configure:15842: result: no configure:15861: checking whether to support gopher configure:15867: result: no configure:15888: checking whether to provide built-in manual configure:15894: result: no configure:15910: checking whether to enable generation of C code configure:15916: result: no configure:15935: checking whether to use libgcc configure:15950: result: no configure:15957: checking if X/Open network library is required configure:15977: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:45:3: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:45:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ conftest.c:47:1: error: expected declaration or statement at end of input } ^ configure:15977: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | /* end confdefs.h. */ | | | int main (void) | { | #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600) | return 0; | #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED) | return 0; | #else | force compilation error | #endif | } | | configure:15984: result: no configure:15988: checking for gethostbyname configure:15988: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:15988: $? = 0 configure:15988: result: yes configure:16457: checking for windows.h configure:16499: result: no configure:16512: checking for winsock.h configure:16555: result: no configure:16568: checking for winsock2.h configure:16611: result: no configure:16634: checking for proto/bsdsocket.h configure:16634: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:43:10: fatal error: proto/bsdsocket.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:16634: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | /* end confdefs.h. */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | | #include configure:16634: result: no configure:16647: checking for connect in libraries configure:16675: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:16675: $? = 0 configure:16693: result: yes configure:16706: checking whether time.h and sys/time.h may both be included configure:16725: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:16725: $? = 0 configure:16732: result: yes configure:16744: checking for sys/types.h configure:16744: result: yes configure:16744: checking sys/time.h usability configure:16744: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:16744: $? = 0 configure:16744: result: yes configure:16744: checking sys/time.h presence configure:16744: mips-openwrt-linux-musl-gcc -E -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c configure:16744: $? = 0 configure:16744: result: yes configure:16744: checking for sys/time.h configure:16744: result: yes configure:16744: checking time.h usability configure:16744: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:16744: $? = 0 configure:16744: result: yes configure:16744: checking time.h presence configure:16744: mips-openwrt-linux-musl-gcc -E -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c configure:16744: $? = 0 configure:16744: result: yes configure:16744: checking for time.h configure:16744: result: yes configure:16754: checking for monotonic clock_gettime configure:16787: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:16787: $? = 0 configure:16789: result: yes configure:16807: checking for clock_gettime in libraries configure:16849: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c >&5 configure:16849: $? = 0 configure:16870: result: no additional lib required configure:16987: WARNING: zlib disabled configure:17456: checking for BrotliDecoderDecompress in -lbrotlidec configure:17478: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections conftest.c -lbrotlidec >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find -lbrotlidec collect2: error: ld returned 1 exit status configure:17478: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char BrotliDecoderDecompress (); | int main (void) | { | return BrotliDecoderDecompress (); | ; | return 0; | } configure:17487: result: no configure:17501: checking brotli/decode.h usability configure:17501: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:74:10: fatal error: brotli/decode.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17501: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:17501: result: no configure:17501: checking brotli/decode.h presence configure:17501: mips-openwrt-linux-musl-gcc -E -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c conftest.c:41:10: fatal error: brotli/decode.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. configure:17501: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | /* end confdefs.h. */ | #include configure:17501: result: no configure:17501: checking for brotli/decode.h configure:17501: result: no configure:18170: checking whether to enable IPv6 configure:18180: result: yes configure:18233: checking if struct sockaddr_in6 has sin6_scope_id member configure:18255: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:18255: $? = 0 configure:18260: result: yes configure:18272: checking if argv can be written to configure:18318: result: no configure:18320: WARNING: the previous check could not be made default was used configure:18364: checking if GSS-API support is requested configure:18495: result: no configure:18607: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:18632: result: no configure:18656: checking whether to enable Secure Transport configure:18673: result: no configure:18690: checking whether to enable Amiga native SSL/TLS (AmiSSL) configure:18718: result: no configure:20784: checking for mbedtls_ssl_init in -lmbedtls configure:20806: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:20806: $? = 0 configure:20815: result: yes configure:20839: detected mbedTLS configure:21765: built with one SSL backend configure:21807: checking default CA cert bundle/path configure:21919: result: /etc/ssl/certs/ca-certificates.crt configure:21937: checking whether to use builtin CA store of SSL library configure:21951: result: no configure:23179: checking whether versioned symbols are wanted configure:23225: result: no configure:23244: checking whether to enable Windows native IDN (Windows native builds only) configure:23256: result: no configure:23344: checking whether to build with libidn2 configure:23356: result: no configure:24195: checking for libngtcp2 options with pkg-config configure:24206: result: no configure:24982: checking for quiche options with pkg-config configure:24993: result: no configure:25254: checking for fish options with pkg-config configure:25265: result: no configure:25287: checking for ANSI C header files configure:25390: result: yes configure:25400: checking for malloc.h configure:25425: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25425: $? = 0 configure:25437: result: yes configure:25465: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25465: $? = 0 configure:25488: checking for memory.h configure:25513: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:53:19: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] void *p = malloc(10); ^~~~~~ conftest.c:53:19: warning: incompatible implicit declaration of built-in function 'malloc' conftest.c:53:19: note: include '' or provide a declaration of 'malloc' conftest.c:54:19: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] void *q = calloc(10,10); ^~~~~~ conftest.c:54:19: warning: incompatible implicit declaration of built-in function 'calloc' conftest.c:54:19: note: include '' or provide a declaration of 'calloc' conftest.c:55:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] free(p); ^~~~ conftest.c:55:9: warning: incompatible implicit declaration of built-in function 'free' conftest.c:55:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors configure:25513: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | void *p = malloc(10); | void *q = calloc(10,10); | free(p); | free(q); | | ; | return 0; | } | configure:25525: result: no configure:25620: checking for sys/types.h configure:25620: result: yes configure:25620: checking for sys/time.h configure:25620: result: yes configure:25620: checking for sys/select.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/socket.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/ioctl.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/uio.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for assert.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for unistd.h configure:25620: result: yes configure:25620: checking for stdlib.h configure:25620: result: yes configure:25620: checking for arpa/inet.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for net/if.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for netinet/in.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for netinet/in6.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:83:10: fatal error: netinet/in6.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sys/un.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for linux/tcp.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for netinet/tcp.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for netdb.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/sockio.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:87:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sys/stat.h configure:25620: result: yes configure:25620: checking for sys/param.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for termios.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for termio.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:90:10: fatal error: termio.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sgtty.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:90:10: fatal error: sgtty.h: No such file or directory #include ^~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for fcntl.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for alloca.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for time.h configure:25620: result: yes configure:25620: checking for io.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:93:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for pwd.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for utime.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/utime.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:95:10: fatal error: sys/utime.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sys/poll.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 In file included from conftest.c:95:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for poll.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for socket.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:97:10: fatal error: socket.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sys/resource.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for libgen.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for locale.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for errno.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for stdbool.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for arpa/tftp.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for sys/filio.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:103:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:25620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:25620: result: no configure:25620: checking for sys/wait.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25620: checking for setjmp.h configure:25620: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25620: $? = 0 configure:25620: result: yes configure:25656: checking for an ANSI C-conforming const configure:25721: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25721: $? = 0 configure:25728: result: yes configure:25737: checking for compiler support of C99 variadic macro style configure:25767: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25767: $? = 0 configure:25779: result: yes configure:25790: checking for compiler support of old gcc variadic macro style configure:25820: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25820: $? = 0 configure:25832: result: yes configure:25844: checking for size_t configure:25844: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25844: $? = 0 configure:25844: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:117:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:25844: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:25844: result: yes configure:25855: checking whether time.h and sys/time.h may both be included configure:25881: result: yes configure:25893: checking for sys/types.h configure:25893: result: yes configure:25893: checking for sys/time.h configure:25893: result: yes configure:25893: checking for time.h configure:25893: result: yes configure:25893: checking for sys/socket.h configure:25893: result: yes configure:25903: checking for struct timeval configure:25956: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:25956: $? = 0 configure:25968: result: yes configure:26025: checking size of size_t configure:26056: result: 4 configure:26064: checking size of long configure:26095: result: 4 configure:26103: checking size of int configure:26134: result: 4 configure:26142: checking size of short configure:26173: result: 2 configure:26181: checking size of time_t configure:26200: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26200: $? = 0 configure:26212: result: 4 configure:26220: checking size of off_t configure:26251: result: 8 configure:26262: checking size of curl_off_t configure:26283: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -I./include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:102:20: error: duplicate case value switch (0) case 0: case (sizeof (curl_off_t) == 4):; ^~~~ conftest.c:102:12: note: previously used here switch (0) case 0: case (sizeof (curl_off_t) == 4):; ^~~~ configure:26283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | /* end confdefs.h. */ | | #include | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ; | return 0; | } configure:26283: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -I./include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26283: $? = 0 configure:26295: result: 8 configure:26305: checking for long long configure:26305: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26305: $? = 0 configure:26305: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:130:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:26305: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:26305: result: yes configure:26316: checking if numberLL works configure:26333: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26333: $? = 0 configure:26335: result: yes configure:26352: checking for ssize_t configure:26352: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26352: $? = 0 configure:26352: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:132:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:26352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:26352: result: yes configure:26363: checking for bool configure:26363: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26363: $? = 0 configure:26363: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:108:19: error: expected expression before ')' token if (sizeof ((bool))) ^ configure:26363: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_STDBOOL_H | #include | #endif | | | int main (void) | { | if (sizeof ((bool))) | return 0; | ; | return 0; | } configure:26363: result: yes configure:26382: checking for sa_family_t configure:26382: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26382: $? = 0 configure:26382: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:106:26: error: expected expression before ')' token if (sizeof ((sa_family_t))) ^ configure:26382: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | | | int main (void) | { | if (sizeof ((sa_family_t))) | return 0; | ; | return 0; | } configure:26382: result: yes configure:26415: checking if time_t is unsigned configure:26423: result: no configure:26471: checking for sys/types.h configure:26471: result: yes configure:26471: checking for poll.h configure:26471: result: yes configure:26471: checking for sys/poll.h configure:26471: result: yes configure:26507: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 In file included from conftest.c:112:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ conftest.c: In function 'main': conftest.c:122:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:122:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:26507: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_POLL_H | # include | #endif | #ifdef HAVE_SYS_POLL_H | # include | #endif | /* includes end */ | | int main (void) | { | | #if defined(events) || defined(revents) | return 0; | #else | force compilation error | #endif | | ; | return 0; | } | configure:26531: checking for in_addr_t configure:26531: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26531: $? = 0 configure:26531: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:134:24: error: expected expression before ')' token if (sizeof ((in_addr_t))) ^ configure:26531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((in_addr_t))) | return 0; | ; | return 0; | } configure:26531: result: yes configure:26647: checking for struct sockaddr_storage configure:26647: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26647: $? = 0 configure:26647: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:130:38: error: expected expression before ')' token if (sizeof ((struct sockaddr_storage))) ^ configure:26647: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((struct sockaddr_storage))) | return 0; | ; | return 0; | } configure:26647: result: yes configure:26684: checking signal.h usability configure:26684: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26684: $? = 0 configure:26684: result: yes configure:26684: checking signal.h presence configure:26684: mips-openwrt-linux-musl-gcc -E -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c configure:26684: $? = 0 configure:26684: result: yes configure:26684: checking for signal.h configure:26684: result: yes configure:26694: checking for sig_atomic_t configure:26694: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26694: $? = 0 configure:26694: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:112:27: error: expected expression before ')' token if (sizeof ((sig_atomic_t))) ^ configure:26694: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SIGNAL_H | #include | #endif | | | int main (void) | { | if (sizeof ((sig_atomic_t))) | return 0; | ; | return 0; | } configure:26694: result: yes configure:26711: checking if sig_atomic_t is already defined as volatile configure:26731: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:26731: $? = 0 configure:26733: result: no configure:26756: checking return type of signal handlers configure:26773: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:110:10: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ~^~~~~~~~~~~~~~~~~~ configure:26773: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | /* end confdefs.h. */ | #include | #include | | int main (void) | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:26780: result: void configure:26793: checking for sys/select.h configure:26793: result: yes configure:26793: checking for sys/socket.h configure:26793: result: yes configure:26804: checking for select configure:26861: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:26861: $? = 0 configure:26863: result: yes configure:26878: checking types of args and return type for select configure:26965: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:26965: $? = 0 configure:26978: result: int,fd_set *,struct timeval *,int configure:27063: checking for sys/types.h configure:27063: result: yes configure:27063: checking for sys/socket.h configure:27063: result: yes configure:27074: checking for recv configure:27116: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:27116: $? = 0 configure:27118: result: yes configure:27133: checking types of args and return type for recv configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:147:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:141:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:36:27: note: previous definition of 'recv' was here _FORTIFY_FN(recv) ssize_t recv(int __f, void *__s, size_t __n, int __fl) ^~~~ configure:27196: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:27196: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:27196: $? = 0 configure:27210: result: int,void *,size_t,int,int configure:27261: checking for sys/types.h configure:27261: result: yes configure:27261: checking for sys/socket.h configure:27261: result: yes configure:27272: checking for send configure:27314: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:27314: $? = 0 configure:27316: result: yes configure:27331: checking types of args and return type for send configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:155:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/sys/socket.h:55:27: note: previous definition of 'send' was here _FORTIFY_FN(send) ssize_t send(int __f, const void *__s, size_t __n, int __fl) ^~~~ configure:27393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:27393: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:27393: $? = 0 configure:27407: result: int,const void *,size_t,int,int configure:27495: checking for sys/types.h configure:27495: result: yes configure:27495: checking for sys/socket.h configure:27495: result: yes configure:27505: checking for MSG_NOSIGNAL configure:27551: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:27551: $? = 0 configure:27563: result: yes configure:27589: checking for sys/types.h configure:27589: result: yes configure:27589: checking for unistd.h configure:27589: result: yes configure:27608: checking if alarm can be linked configure:27637: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:27637: $? = 0 configure:27639: result: yes configure:27654: checking if alarm is prototyped configure:27665: result: yes configure:27681: checking if alarm is compilable configure:27700: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:27700: $? = 0 configure:27702: result: yes configure:27717: checking if alarm usage allowed configure:27720: result: yes configure:27730: checking if alarm might be used configure:27736: result: yes configure:27766: checking for sys/types.h configure:27766: result: yes configure:27766: checking for string.h configure:27766: result: yes configure:27766: checking for strings.h configure:27766: result: yes configure:27791: checking for sys/types.h configure:27791: result: yes configure:27791: checking for libgen.h configure:27791: result: yes configure:27810: checking if basename can be linked configure:27839: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:27839: $? = 0 configure:27841: result: yes configure:27856: checking if basename is prototyped configure:27869: result: yes configure:27885: checking if basename is compilable configure:27906: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:27906: $? = 0 configure:27908: result: yes configure:27923: checking if basename usage allowed configure:27926: result: yes configure:27936: checking if basename might be used configure:27942: result: yes configure:27969: checking for sys/types.h configure:27969: result: yes configure:27969: checking for socket.h configure:27969: result: no configure:27988: checking if closesocket can be linked configure:28009: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:179:15: error: implicit declaration of function 'closesocket' [-Werror=implicit-function-declaration] if(0 != closesocket(0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:28009: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != closesocket(0)) | return 1; | | ; | return 0; | } | configure:28017: result: no configure:28106: checking if closesocket might be used configure:28121: result: no configure:28139: checking for sys/types.h configure:28139: result: yes configure:28139: checking for sys/socket.h configure:28139: result: yes configure:28158: checking if CloseSocket can be linked configure:28177: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:160:15: error: implicit declaration of function 'CloseSocket'; did you mean 'socket'? [-Werror=implicit-function-declaration] if(0 != CloseSocket(0)) ^~~~~~~~~~~ socket cc1: some warnings being treated as errors configure:28177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != CloseSocket(0)) | return 1; | | ; | return 0; | } | configure:28185: result: no configure:28270: checking if CloseSocket might be used configure:28285: result: no configure:28297: checking if connect can be linked configure:28319: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:28319: $? = 0 configure:28321: result: yes configure:28336: checking if connect is prototyped configure:28350: result: yes configure:28366: checking if connect is compilable configure:28388: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:28388: $? = 0 configure:28390: result: yes configure:28405: checking if connect usage allowed configure:28408: result: yes configure:28418: checking if connect might be used configure:28424: result: yes configure:28454: checking for sys/types.h configure:28454: result: yes configure:28454: checking for unistd.h configure:28454: result: yes configure:28454: checking for fcntl.h configure:28454: result: yes configure:28473: checking if fcntl can be linked configure:28502: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:28502: $? = 0 configure:28504: result: yes configure:28519: checking if fcntl is prototyped configure:28530: result: yes configure:28546: checking if fcntl is compilable configure:28565: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:28565: $? = 0 configure:28567: result: yes configure:28582: checking if fcntl usage allowed configure:28585: result: yes configure:28595: checking if fcntl might be used configure:28601: result: yes configure:28621: checking if fcntl O_NONBLOCK is compilable configure:28641: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:28641: $? = 0 configure:28643: result: yes configure:28658: checking if fcntl O_NONBLOCK usage allowed configure:28661: result: yes configure:28671: checking if fcntl O_NONBLOCK might be used configure:28675: result: yes configure:28712: checking for windows.h configure:28754: result: no configure:28767: checking for winsock2.h configure:28810: result: no configure:28823: checking for ws2tcpip.h configure:28867: result: no configure:28893: checking for sys/types.h configure:28893: result: yes configure:28893: checking for netdb.h configure:28893: result: yes configure:28912: checking if freeaddrinfo can be linked configure:28932: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:28932: $? = 0 configure:28934: result: yes configure:28949: checking if freeaddrinfo is prototyped configure:28962: result: yes configure:28978: checking if freeaddrinfo is compilable configure:28998: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:28998: $? = 0 configure:29000: result: yes configure:29015: checking if freeaddrinfo usage allowed configure:29018: result: yes configure:29028: checking if freeaddrinfo might be used configure:29034: result: yes configure:29067: checking for sys/types.h configure:29067: result: yes configure:29067: checking for sys/socket.h configure:29067: result: yes configure:29067: checking for netinet/in.h configure:29067: result: yes configure:29067: checking for ifaddrs.h configure:29067: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29067: $? = 0 configure:29067: result: yes configure:29086: checking if freeifaddrs can be linked configure:29115: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:29115: $? = 0 configure:29117: result: yes configure:29132: checking if freeifaddrs is prototyped configure:29143: result: yes configure:29159: checking if freeifaddrs is compilable configure:29177: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29177: $? = 0 configure:29179: result: yes configure:29194: checking if freeifaddrs usage allowed configure:29197: result: yes configure:29207: checking if freeifaddrs might be used configure:29213: result: yes configure:29240: checking for sys/types.h configure:29240: result: yes configure:29240: checking for sys/xattr.h configure:29240: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29240: $? = 0 configure:29240: result: yes configure:29260: checking if fsetxattr can be linked configure:29289: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:29289: $? = 0 configure:29291: result: yes configure:29306: checking if fsetxattr is prototyped configure:29317: result: yes configure:29334: checking if fsetxattr takes 5 args. configure:29353: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29353: $? = 0 configure:29355: result: yes configure:29405: checking if fsetxattr is compilable configure:29408: result: yes configure:29417: checking if fsetxattr usage allowed configure:29420: result: yes configure:29430: checking if fsetxattr might be used configure:29436: result: yes configure:29468: checking if ftruncate can be linked configure:29497: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:29497: $? = 0 configure:29499: result: yes configure:29514: checking if ftruncate is prototyped configure:29525: result: yes configure:29541: checking if ftruncate is compilable configure:29560: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29560: $? = 0 configure:29562: result: yes configure:29577: checking if ftruncate usage allowed configure:29580: result: yes configure:29590: checking if ftruncate might be used configure:29596: result: yes configure:29623: checking for sys/types.h configure:29623: result: yes configure:29623: checking for stdlib.h configure:29623: result: yes configure:29644: checking if getaddrinfo can be linked configure:29665: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:29665: $? = 0 configure:29667: result: yes configure:29682: checking if getaddrinfo is prototyped configure:29695: result: yes configure:29711: checking if getaddrinfo is compilable configure:29732: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29732: $? = 0 configure:29734: result: yes configure:29822: checking if getaddrinfo usage allowed configure:29825: result: yes configure:29835: checking if getaddrinfo might be used configure:29842: result: yes configure:29858: checking if getaddrinfo is threadsafe configure:29923: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29923: $? = 0 configure:29965: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:29965: $? = 0 configure:29996: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:179:11: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:179:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:29996: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | /* end confdefs.h. */ | | | | int main (void) | { | | #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) | return 0; | #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700) | return 0; | #else | force compilation error | #endif | | ; | return 0; | } | configure:30014: result: yes configure:30035: checking if gai_strerror can be linked configure:30056: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30056: $? = 0 configure:30058: result: yes configure:30073: checking if gai_strerror is prototyped configure:30086: result: yes configure:30102: checking if gai_strerror is compilable configure:30123: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:30123: $? = 0 configure:30125: result: yes configure:30140: checking if gai_strerror usage allowed configure:30143: result: yes configure:30153: checking if gai_strerror might be used configure:30159: result: yes configure:30180: checking if gethostbyaddr can be linked configure:30201: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30201: $? = 0 configure:30203: result: yes configure:30218: checking if gethostbyaddr is prototyped configure:30231: result: yes configure:30247: checking if gethostbyaddr is compilable configure:30268: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:30268: $? = 0 configure:30270: result: yes configure:30285: checking if gethostbyaddr usage allowed configure:30288: result: yes configure:30298: checking if gethostbyaddr might be used configure:30304: result: yes configure:30326: checking if gethostbyaddr_r can be linked configure:30355: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30355: $? = 0 configure:30357: result: yes configure:30372: checking if gethostbyaddr_r is prototyped configure:30383: result: yes configure:30400: checking if gethostbyaddr_r takes 5 args. configure:30419: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:185:19: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:178:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:136:5: note: declared here int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *); ^~~~~~~~~~~~~~~ configure:30419: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:30428: result: no configure:30436: checking if gethostbyaddr_r takes 7 args. configure:30455: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:185:19: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:178:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:136:5: note: declared here int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *); ^~~~~~~~~~~~~~~ configure:30455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:30464: result: no configure:30472: checking if gethostbyaddr_r takes 8 args. configure:30491: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:30491: $? = 0 configure:30493: result: yes configure:30507: checking if gethostbyaddr_r is compilable configure:30510: result: yes configure:30519: checking if gethostbyaddr_r usage allowed configure:30522: result: yes configure:30532: checking if gethostbyaddr_r might be used configure:30538: result: yes configure:30574: checking if gethostbyname can be linked configure:30595: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30595: $? = 0 configure:30597: result: yes configure:30612: checking if gethostbyname is prototyped configure:30625: result: yes configure:30641: checking if gethostbyname is compilable configure:30662: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:30662: $? = 0 configure:30664: result: yes configure:30679: checking if gethostbyname usage allowed configure:30682: result: yes configure:30692: checking if gethostbyname might be used configure:30698: result: yes configure:30720: checking if gethostbyname_r can be linked configure:30749: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30749: $? = 0 configure:30751: result: yes configure:30766: checking if gethostbyname_r is prototyped configure:30777: result: yes configure:30794: checking if gethostbyname_r takes 3 args. configure:30813: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:188:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:181:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:133:5: note: declared here int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); ^~~~~~~~~~~~~~~ configure:30813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:30822: result: no configure:30830: checking if gethostbyname_r takes 5 args. configure:30849: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:188:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:181:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:133:5: note: declared here int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); ^~~~~~~~~~~~~~~ configure:30849: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:30858: result: no configure:30866: checking if gethostbyname_r takes 6 args. configure:30885: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:30885: $? = 0 configure:30887: result: yes configure:30901: checking if gethostbyname_r is compilable configure:30904: result: yes configure:30913: checking if gethostbyname_r usage allowed configure:30916: result: yes configure:30926: checking if gethostbyname_r might be used configure:30932: result: yes configure:30978: checking if gethostname can be linked configure:30999: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:30999: $? = 0 configure:31001: result: yes configure:31016: checking if gethostname is prototyped configure:31029: result: yes configure:31045: checking if gethostname is compilable configure:31066: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31066: $? = 0 configure:31068: result: yes configure:31083: checking for gethostname arg 2 data type configure:31110: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:214:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, int); ^~~~~~~~~~~ In file included from conftest.c:204:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/unistd.h:83:30: note: previous definition of 'gethostname' was here _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) ^~~~~~~~~~~ configure:31110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV gethostname(char *, int); | | int main (void) | { | | if(0 != gethostname(0, 0)) | return 1; | | ; | return 0; | } | configure:31110: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31110: $? = 0 configure:31119: result: unsigned int configure:31131: checking if gethostname usage allowed configure:31134: result: yes configure:31144: checking if gethostname might be used configure:31150: result: yes configure:31171: checking if getpeername can be linked configure:31192: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:31192: $? = 0 configure:31194: result: yes configure:31209: checking if getpeername is prototyped configure:31222: result: yes configure:31238: checking if getpeername is compilable configure:31259: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31259: $? = 0 configure:31261: result: yes configure:31276: checking if getpeername usage allowed configure:31279: result: yes configure:31289: checking if getpeername might be used configure:31295: result: yes configure:31316: checking if getsockname can be linked configure:31337: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:31337: $? = 0 configure:31339: result: yes configure:31354: checking if getsockname is prototyped configure:31367: result: yes configure:31383: checking if getsockname is compilable configure:31404: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31404: $? = 0 configure:31406: result: yes configure:31421: checking if getsockname usage allowed configure:31424: result: yes configure:31434: checking if getsockname might be used configure:31440: result: yes configure:31463: checking for net/if.h configure:31463: result: yes configure:31482: checking if if_nametoindex can be linked configure:31503: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:31503: $? = 0 configure:31505: result: yes configure:31520: checking if if_nametoindex is prototyped configure:31532: result: yes configure:31548: checking if if_nametoindex is compilable configure:31568: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31568: $? = 0 configure:31570: result: yes configure:31585: checking if if_nametoindex usage allowed configure:31588: result: yes configure:31598: checking if if_nametoindex might be used configure:31604: result: yes configure:31626: checking if getifaddrs can be linked configure:31655: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:31655: $? = 0 configure:31657: result: yes configure:31672: checking if getifaddrs is prototyped configure:31683: result: yes configure:31699: checking if getifaddrs is compilable configure:31718: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:31718: $? = 0 configure:31720: result: yes configure:31794: checking if getifaddrs usage allowed configure:31797: result: yes configure:31807: checking if getifaddrs might be used configure:31814: result: yes configure:31836: checking if getservbyport_r can be linked configure:31865: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:31865: $? = 0 configure:31867: result: yes configure:31882: checking if getservbyport_r is prototyped configure:31893: result: yes configure:31910: checking if getservbyport_r takes 4 args. configure:31929: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:197:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:190:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:137:5: note: declared here int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **); ^~~~~~~~~~~~~~~ configure:31929: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:31938: result: no configure:31946: checking if getservbyport_r takes 5 args. configure:31965: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:197:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:190:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/netdb.h:137:5: note: declared here int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **); ^~~~~~~~~~~~~~~ configure:31965: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:31974: result: no configure:31982: checking if getservbyport_r takes 6 args. configure:32001: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:32001: $? = 0 configure:32003: result: yes configure:32017: checking if getservbyport_r is compilable configure:32020: result: yes configure:32029: checking if getservbyport_r usage allowed configure:32032: result: yes configure:32042: checking if getservbyport_r might be used configure:32048: result: yes configure:32096: checking for sys/types.h configure:32096: result: yes configure:32096: checking for sys/time.h configure:32096: result: yes configure:32096: checking for time.h configure:32096: result: yes configure:32116: checking if gmtime_r can be linked configure:32145: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:32145: $? = 0 configure:32147: result: yes configure:32162: checking if gmtime_r is prototyped configure:32173: result: yes configure:32189: checking if gmtime_r is compilable configure:32208: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:32208: $? = 0 configure:32210: result: yes configure:32284: checking if gmtime_r usage allowed configure:32287: result: yes configure:32297: checking if gmtime_r might be used configure:32304: result: yes configure:32341: checking for sys/types.h configure:32341: result: yes configure:32341: checking for sys/socket.h configure:32341: result: yes configure:32341: checking for netinet/in.h configure:32341: result: yes configure:32341: checking for arpa/inet.h configure:32341: result: yes configure:32361: checking if inet_ntoa_r can be linked configure:32390: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/cc6tASjI.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:32390: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:32398: result: no configure:32533: checking if inet_ntoa_r might be used configure:32559: result: no configure:32572: checking if inet_ntop can be linked configure:32601: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:32601: $? = 0 configure:32603: result: yes configure:32618: checking if inet_ntop is prototyped configure:32629: result: yes configure:32645: checking if inet_ntop is compilable configure:32664: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:32664: $? = 0 configure:32666: result: yes configure:32782: checking if inet_ntop usage allowed configure:32785: result: yes configure:32795: checking if inet_ntop might be used configure:32802: result: yes configure:32824: checking if inet_pton can be linked configure:32853: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:32853: $? = 0 configure:32855: result: yes configure:32870: checking if inet_pton is prototyped configure:32881: result: yes configure:32897: checking if inet_pton is compilable configure:32916: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:32916: $? = 0 configure:32918: result: yes configure:33027: checking if inet_pton usage allowed configure:33030: result: yes configure:33040: checking if inet_pton might be used configure:33047: result: yes configure:33083: checking for sys/types.h configure:33083: result: yes configure:33083: checking for unistd.h configure:33083: result: yes configure:33083: checking for sys/socket.h configure:33083: result: yes configure:33083: checking for sys/ioctl.h configure:33083: result: yes configure:33083: checking for stropts.h configure:33083: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:33083: $? = 0 configure:33083: result: yes configure:33102: checking if ioctl can be linked configure:33131: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:33131: $? = 0 configure:33133: result: yes configure:33148: checking if ioctl is prototyped configure:33159: result: yes configure:33175: checking if ioctl is compilable configure:33194: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:33194: $? = 0 configure:33196: result: yes configure:33211: checking if ioctl usage allowed configure:33214: result: yes configure:33224: checking if ioctl might be used configure:33230: result: yes configure:33244: checking if ioctl FIONBIO is compilable configure:33264: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:33264: $? = 0 configure:33266: result: yes configure:33281: checking if ioctl FIONBIO usage allowed configure:33284: result: yes configure:33294: checking if ioctl FIONBIO might be used configure:33298: result: yes configure:33318: checking if ioctl SIOCGIFADDR is compilable configure:33339: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:33339: $? = 0 configure:33341: result: yes configure:33356: checking if ioctl SIOCGIFADDR usage allowed configure:33359: result: yes configure:33369: checking if ioctl SIOCGIFADDR might be used configure:33373: result: yes configure:33400: checking if ioctlsocket can be linked configure:33420: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:231:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] if(0 != ioctlsocket(0, 0, 0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:33420: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33428: result: no configure:33515: checking if ioctlsocket might be used configure:33605: result: no configure:33617: checking if IoctlSocket can be linked configure:33646: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/cczWoHrs.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:33646: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | #define IoctlSocket innocuous_IoctlSocket | #ifdef __STDC__ | # include | #else | # include | #endif | #undef IoctlSocket | #ifdef __cplusplus | extern "C" | #endif | char IoctlSocket (); | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket | choke me | #endif | | int main (void) | { | return IoctlSocket (); | ; | return 0; | } | configure:33654: result: no configure:33739: checking if IoctlSocket might be used configure:33828: result: no configure:33841: checking if localtime_r can be linked configure:33870: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:33870: $? = 0 configure:33872: result: yes configure:33887: checking if localtime_r is prototyped configure:33898: result: yes configure:33914: checking if localtime_r is compilable configure:33933: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:33933: $? = 0 configure:33935: result: yes configure:34009: checking if localtime_r usage allowed configure:34012: result: yes configure:34022: checking if localtime_r might be used configure:34029: result: yes configure:34051: checking if memrchr can be linked configure:34080: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:34080: $? = 0 configure:34082: result: yes configure:34134: checking if memrchr is prototyped configure:34151: result: no configure:34211: checking if memrchr might be used configure:34226: result: no configure:34246: checking if poll can be linked configure:34265: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 In file included from conftest.c:215:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:34265: $? = 0 configure:34267: result: yes configure:34282: checking if poll is prototyped In file included from conftest.c:214:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:34293: result: yes configure:34309: checking if poll is compilable configure:34328: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 In file included from conftest.c:215:0: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:34328: $? = 0 configure:34330: result: yes configure:34416: checking if poll usage allowed configure:34419: result: yes configure:34429: checking if poll might be used configure:34436: result: yes configure:34462: checking if setsockopt can be linked configure:34483: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:34483: $? = 0 configure:34485: result: yes configure:34500: checking if setsockopt is prototyped configure:34513: result: yes configure:34529: checking if setsockopt is compilable configure:34550: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:34550: $? = 0 configure:34552: result: yes configure:34567: checking if setsockopt usage allowed configure:34570: result: yes configure:34580: checking if setsockopt might be used configure:34586: result: yes configure:34600: checking if setsockopt SO_NONBLOCK is compilable configure:34621: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:243:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ^~~~~~~~~~~ SOCK_NONBLOCK conftest.c:243:43: note: each undeclared identifier is reported only once for each function it appears in configure:34621: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | return 1; | | ; | return 0; | } | configure:34629: result: no configure:34651: checking if setsockopt SO_NONBLOCK might be used configure:34664: result: no configure:34688: checking for sys/types.h configure:34688: result: yes configure:34688: checking for signal.h configure:34688: result: yes configure:34707: checking if sigaction can be linked configure:34736: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:34736: $? = 0 configure:34738: result: yes configure:34753: checking if sigaction is prototyped configure:34764: result: yes configure:34780: checking if sigaction is compilable configure:34799: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:34799: $? = 0 configure:34801: result: yes configure:34816: checking if sigaction usage allowed configure:34819: result: yes configure:34829: checking if sigaction might be used configure:34835: result: yes configure:34856: checking if siginterrupt can be linked configure:34885: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:34885: $? = 0 configure:34887: result: yes configure:34902: checking if siginterrupt is prototyped configure:34913: result: yes configure:34929: checking if siginterrupt is compilable configure:34948: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:34948: $? = 0 configure:34950: result: yes configure:34965: checking if siginterrupt usage allowed configure:34968: result: yes configure:34978: checking if siginterrupt might be used configure:34984: result: yes configure:35005: checking if signal can be linked configure:35034: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:35034: $? = 0 configure:35036: result: yes configure:35051: checking if signal is prototyped configure:35062: result: yes configure:35078: checking if signal is compilable configure:35097: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:35097: $? = 0 configure:35099: result: yes configure:35114: checking if signal usage allowed configure:35117: result: yes configure:35127: checking if signal might be used configure:35133: result: yes configure:35160: checking for sys/types.h configure:35160: result: yes configure:35160: checking for setjmp.h configure:35160: result: yes configure:35180: checking if sigsetjmp can be linked configure:35209: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:35209: $? = 0 configure:35211: result: yes configure:35264: checking if sigsetjmp is prototyped configure:35275: result: yes configure:35292: checking if sigsetjmp is compilable configure:35312: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:35312: $? = 0 configure:35314: result: yes configure:35329: checking if sigsetjmp usage allowed configure:35332: result: yes configure:35342: checking if sigsetjmp might be used configure:35348: result: yes configure:35369: checking if socket can be linked configure:35391: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:35391: $? = 0 configure:35393: result: yes configure:35408: checking if socket is prototyped configure:35422: result: yes configure:35438: checking if socket is compilable configure:35460: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:35460: $? = 0 configure:35462: result: yes configure:35477: checking if socket usage allowed configure:35480: result: yes configure:35490: checking if socket might be used configure:35496: result: yes configure:35517: checking if socketpair can be linked configure:35546: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:35546: $? = 0 configure:35548: result: yes configure:35563: checking if socketpair is prototyped configure:35575: result: yes configure:35591: checking if socketpair is compilable configure:35612: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:35612: $? = 0 configure:35614: result: yes configure:35629: checking if socketpair usage allowed configure:35632: result: yes configure:35642: checking if socketpair might be used configure:35648: result: yes configure:35669: checking if strcasecmp can be linked configure:35698: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c:230:6: warning: conflicting types for built-in function 'strcasecmp' [-Wbuiltin-declaration-mismatch] char strcasecmp (); ^~~~~~~~~~ configure:35698: $? = 0 configure:35700: result: yes configure:35715: checking if strcasecmp is prototyped configure:35726: result: yes configure:35742: checking if strcasecmp is compilable configure:35761: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:235:17: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strcasecmp(0, 0)) ^~~~~~~~~~ conftest.c:235:17: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:35761: $? = 0 configure:35763: result: yes configure:35778: checking if strcasecmp usage allowed configure:35781: result: yes configure:35791: checking if strcasecmp might be used configure:35797: result: yes configure:35818: checking if strcmpi can be linked configure:35847: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccTCVGP3.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:35847: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | /* end confdefs.h. */ | | | #define strcmpi innocuous_strcmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strcmpi | #ifdef __cplusplus | extern "C" | #endif | char strcmpi (); | #if defined __stub_strcmpi || defined __stub___strcmpi | choke me | #endif | | int main (void) | { | return strcmpi (); | ; | return 0; | } | configure:35855: result: no configure:35940: checking if strcmpi might be used configure:35955: result: no configure:35967: checking if strdup can be linked configure:35996: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c:231:6: warning: conflicting types for built-in function 'strdup' [-Wbuiltin-declaration-mismatch] char strdup (); ^~~~~~ configure:35996: $? = 0 configure:35998: result: yes configure:36013: checking if strdup is prototyped configure:36024: result: yes configure:36040: checking if strdup is compilable configure:36059: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:236:17: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strdup(0)) ^~~~~~ configure:36059: $? = 0 configure:36061: result: yes configure:36076: checking if strdup usage allowed configure:36079: result: yes configure:36089: checking if strdup might be used configure:36095: result: yes configure:36122: checking if strerror_r can be linked configure:36151: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:36151: $? = 0 configure:36153: result: yes configure:36168: checking if strerror_r is prototyped configure:36179: result: yes configure:36195: checking if strerror_r is compilable configure:36214: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:36214: $? = 0 configure:36216: result: yes configure:36231: checking if strerror_r is glibc like configure:36254: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:233:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, size_t bufsize); ^~~~~~~~~~ In file included from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/string.h:22:0, from conftest.c:227: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^~~~~~~~~~ configure:36254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, size_t bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36254: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:233:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, int bufsize); ^~~~~~~~~~ In file included from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/string.h:22:0, from conftest.c:227: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^~~~~~~~~~ configure:36254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, int bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36254: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c:233:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); ^~~~~~~~~~ In file included from /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify/string.h:22:0, from conftest.c:227: /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^~~~~~~~~~ configure:36254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36264: result: no configure:36339: checking if strerror_r is POSIX like configure:36362: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:36362: $? = 0 configure:36377: result: yes configure:36462: checking if strerror_r usage allowed configure:36465: result: yes configure:36475: checking if strerror_r might be used configure:36481: result: yes configure:36538: checking if stricmp can be linked configure:36567: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/cc31YCiw.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:36567: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | /* end confdefs.h. */ | | | #define stricmp innocuous_stricmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef stricmp | #ifdef __cplusplus | extern "C" | #endif | char stricmp (); | #if defined __stub_stricmp || defined __stub___stricmp | choke me | #endif | | int main (void) | { | return stricmp (); | ; | return 0; | } | configure:36575: result: no configure:36660: checking if stricmp might be used configure:36675: result: no configure:36687: checking if strncasecmp can be linked configure:36716: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c:235:6: warning: conflicting types for built-in function 'strncasecmp' [-Wbuiltin-declaration-mismatch] char strncasecmp (); ^~~~~~~~~~~ configure:36716: $? = 0 configure:36718: result: yes configure:36733: checking if strncasecmp is prototyped configure:36744: result: yes configure:36760: checking if strncasecmp is compilable configure:36779: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:240:17: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strncasecmp(0, 0, 0)) ^~~~~~~~~~~ conftest.c:240:17: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:36779: $? = 0 configure:36781: result: yes configure:36796: checking if strncasecmp usage allowed configure:36799: result: yes configure:36809: checking if strncasecmp might be used configure:36815: result: yes configure:36836: checking if strncmpi can be linked configure:36865: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccBNF3lH.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:36865: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strncmpi innocuous_strncmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strncmpi | #ifdef __cplusplus | extern "C" | #endif | char strncmpi (); | #if defined __stub_strncmpi || defined __stub___strncmpi | choke me | #endif | | int main (void) | { | return strncmpi (); | ; | return 0; | } | configure:36873: result: no configure:36958: checking if strncmpi might be used configure:36973: result: no configure:36985: checking if strnicmp can be linked configure:37014: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccH2wCJM.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:37014: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strnicmp innocuous_strnicmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strnicmp | #ifdef __cplusplus | extern "C" | #endif | char strnicmp (); | #if defined __stub_strnicmp || defined __stub___strnicmp | choke me | #endif | | int main (void) | { | return strnicmp (); | ; | return 0; | } | configure:37022: result: no configure:37107: checking if strnicmp might be used configure:37122: result: no configure:37134: checking if strstr can be linked configure:37163: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c:236:6: warning: conflicting types for built-in function 'strstr' [-Wbuiltin-declaration-mismatch] char strstr (); ^~~~~~ configure:37163: $? = 0 configure:37165: result: yes configure:37180: checking if strstr is prototyped configure:37191: result: yes configure:37207: checking if strstr is compilable configure:37226: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:241:17: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strstr(0, 0)) ^~~~~~ conftest.c:241:17: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:37226: $? = 0 configure:37228: result: yes configure:37243: checking if strstr usage allowed configure:37246: result: yes configure:37256: checking if strstr might be used configure:37262: result: yes configure:37283: checking if strtok_r can be linked configure:37312: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37312: $? = 0 configure:37314: result: yes configure:37329: checking if strtok_r is prototyped configure:37340: result: yes configure:37356: checking if strtok_r is compilable configure:37375: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:37375: $? = 0 configure:37377: result: yes configure:37392: checking if strtok_r usage allowed configure:37395: result: yes configure:37405: checking if strtok_r might be used configure:37411: result: yes configure:37432: checking if strtoll can be linked configure:37461: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37461: $? = 0 configure:37463: result: yes configure:37478: checking if strtoll is prototyped configure:37489: result: yes configure:37505: checking if strtoll is compilable configure:37524: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:37524: $? = 0 configure:37526: result: yes configure:37541: checking if strtoll usage allowed configure:37544: result: yes configure:37554: checking if strtoll might be used configure:37560: result: yes configure:37587: checking for sys/types.h configure:37587: result: yes configure:37587: checking for sys/uio.h configure:37587: result: yes configure:37606: checking if writev can be linked configure:37635: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37635: $? = 0 configure:37637: result: yes configure:37652: checking if writev is prototyped configure:37663: result: yes configure:37679: checking if writev is compilable configure:37698: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:37698: $? = 0 configure:37700: result: yes configure:37715: checking if writev usage allowed configure:37718: result: yes configure:37728: checking if writev might be used configure:37734: result: yes configure:37758: checking whether getpwuid_r is declared configure:37758: mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include conftest.c >&5 configure:37758: $? = 0 configure:37758: result: yes configure:37800: checking for fnmatch configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for geteuid configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for getpass_r configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/cckbIVWt.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:37800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | #define getpass_r innocuous_getpass_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getpass_r | #ifdef __cplusplus | extern "C" | #endif | char getpass_r (); | #if defined __stub_getpass_r || defined __stub___getpass_r | choke me | #endif | | int main (void) | { | return getpass_r (); | ; | return 0; | } configure:37800: result: no configure:37812: checking deeper for getpass_r configure:37829: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:239:9: error: implicit declaration of function 'getpass_r' [-Werror=implicit-function-declaration] getpass_r (); ^~~~~~~~~ cc1: some warnings being treated as errors configure:37829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | | | int main (void) | { | | getpass_r (); | | ; | return 0; | } | configure:37842: result: but still no configure:37800: checking for getppid configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for getpwuid configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for getpwuid_r configure:37800: result: yes configure:37800: checking for getrlimit configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for gettimeofday configure:37800: result: yes configure:37800: checking for if_nametoindex configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for mach_absolute_time configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/ccZjBQsU.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status configure:37800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | /* end confdefs.h. */ | | #define mach_absolute_time innocuous_mach_absolute_time | #ifdef __STDC__ | # include | #else | # include | #endif | #undef mach_absolute_time | #ifdef __cplusplus | extern "C" | #endif | char mach_absolute_time (); | #if defined __stub_mach_absolute_time || defined __stub___mach_absolute_time | choke me | #endif | | int main (void) | { | return mach_absolute_time (); | ; | return 0; | } configure:37800: result: no configure:37812: checking deeper for mach_absolute_time configure:37829: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:245:9: error: implicit declaration of function 'mach_absolute_time' [-Werror=implicit-function-declaration] mach_absolute_time (); ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors configure:37829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | /* end confdefs.h. */ | | | | int main (void) | { | | mach_absolute_time (); | | ; | return 0; | } | configure:37842: result: but still no configure:37800: checking for pipe configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for setlocale configure:37800: result: yes configure:37800: checking for setmode configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/user/librerouteros-C60/tmp/cc7ozjld.o: in function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:37800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | #define setmode innocuous_setmode | #ifdef __STDC__ | # include | #else | # include | #endif | #undef setmode | #ifdef __cplusplus | extern "C" | #endif | char setmode (); | #if defined __stub_setmode || defined __stub___setmode | choke me | #endif | | int main (void) | { | return setmode (); | ; | return 0; | } configure:37800: result: no configure:37812: checking deeper for setmode configure:37829: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 conftest.c: In function 'main': conftest.c:247:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration] setmode (); ^~~~~~~ cc1: some warnings being treated as errors configure:37829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "mips-openwrt-linux-gnu" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define USE_MBEDTLS 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV int | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 unsigned int | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | | | int main (void) | { | | setmode (); | | ; | return 0; | } | configure:37842: result: but still no configure:37800: checking for setrlimit configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for usleep configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for utime configure:37800: mips-openwrt-linux-musl-gcc -o conftest -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib conftest.c -lmbedtls -lmbedx509 -lmbedcrypto >&5 configure:37800: $? = 0 configure:37800: result: yes configure:37800: checking for utimes configure:37800: result: yes configure:37868: checking how to set a socket into non-blocking mode configure:37881: result: fcntl O_NONBLOCK configure:37892: checking for perl configure:37911: found /home/user/librerouteros-C60/staging_dir/host/bin/perl configure:37923: result: /home/user/librerouteros-C60/staging_dir/host/bin/perl configure:37937: checking for gnroff configure:37971: result: no configure:37937: checking for nroff configure:37971: result: no configure:38009: WARNING: disabling built-in manual configure:38444: checking whether to enable the threaded resolver configure:38460: result: no configure:38465: checking whether to use POSIX threads for threaded resolver configure:38481: result: auto configure:38600: checking whether to enable verbose strings configure:38606: result: no configure:38624: checking whether to enable SSPI support (Windows native builds only) configure:38663: result: no configure:38670: checking whether to enable cryptographic authentication methods configure:38676: result: no configure:38719: checking whether to enable NTLM delegation to winbind's helper configure:38726: result: yes configure:38741: checking whether to enable TLS-SRP authentication configure:38747: result: no configure:38772: checking whether to enable Unix domain sockets configure:38777: result: no configure:38819: checking whether to support cookies configure:38831: result: yes configure:38842: checking whether to support HTTP authentication configure:38859: result: yes configure:38865: checking whether to support DoH configure:38882: result: yes configure:38888: checking whether to support the MIME API configure:38905: result: yes configure:38911: checking whether to support date parsing configure:38928: result: yes configure:38934: checking whether to support netrc parsing configure:38951: result: yes configure:38957: checking whether to support progress-meter configure:38974: result: yes configure:38980: checking whether to support DNS shuffling configure:38997: result: yes configure:39004: checking whether to support alt-svc configure:39020: result: no configure:39034: checking whether hiding of library internal symbols will actually happen configure:39048: result: yes configure:39400: using CFLAGS: -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers configure:39406: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:39437: WARNING: Continuing even with errors mentioned immediately above this line. configure:39557: checking that generated files are newer than configure configure:39563: result: done configure:39654: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by curl config.status -, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on 608ab16b5345 config.status:1473: creating Makefile config.status:1473: creating docs/Makefile config.status:1473: creating docs/examples/Makefile config.status:1473: creating docs/libcurl/Makefile config.status:1473: creating docs/libcurl/opts/Makefile config.status:1473: creating docs/cmdline-opts/Makefile config.status:1473: creating include/Makefile config.status:1473: creating include/curl/Makefile config.status:1473: creating src/Makefile config.status:1473: creating lib/Makefile config.status:1473: creating scripts/Makefile config.status:1473: creating lib/libcurl.vers config.status:1473: creating tests/Makefile config.status:1473: creating tests/certs/Makefile config.status:1473: creating tests/certs/scripts/Makefile config.status:1473: creating tests/data/Makefile config.status:1473: creating tests/server/Makefile config.status:1473: creating tests/libtest/Makefile config.status:1473: creating tests/unit/Makefile config.status:1473: creating packages/Makefile config.status:1473: creating packages/vms/Makefile config.status:1473: creating curl-config config.status:1473: creating libcurl.pc config.status:1473: creating lib/curl_config.h config.status:1702: executing depfiles commands config.status:1702: executing libtool commands configure:42094: amending lib/Makefile configure:42094: amending src/Makefile configure:42094: amending tests/unit/Makefile configure:42094: amending tests/server/Makefile configure:42094: amending tests/libtest/Makefile configure:42094: amending docs/examples/Makefile configure:42217: Configured to build curl/libcurl: Host setup: mips-openwrt-linux-gnu Install prefix: /usr Compiler: mips-openwrt-linux-musl-gcc CFLAGS: -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers CPPFLAGS: -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include LDFLAGS: -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib LIBS: -lmbedtls -lmbedx509 -lmbedcrypto curl version: 7.66.0 SSL: enabled (mbedTLS) SSH: no (--with-libssh2) zlib: no (--with-zlib) brotli: no (--with-brotli) GSS-API: no (--with-gssapi) TLS-SRP: no (--enable-tls-srp) resolver: default (--enable-ares / --enable-threaded-resolver) IPv6: enabled Unix sockets: no (--enable-unix-sockets) IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=yes Built-in manual: no (--enable-manual) --libcurl option: no Verbose errors: no Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: /etc/ssl/certs/ca-certificates.crt ca cert path: no ca fallback: no LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: no (--enable-rtsp) RTMP: no (--with-librtmp) Metalink: no (--with-libmetalink) PSL: no (--with-libpsl) Alt-svc: no (--enable-alt-svc) HTTP2: disabled (--with-nghttp2) HTTP3: disabled (--with-ngtcp2, --with-quiche) Protocols: FILE FTP FTPS HTTP HTTPS Features: SSL IPv6 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=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_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 -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM ' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= 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_bzero=yes ac_cv_func_cimag=yes ac_cv_func_creal=yes ac_cv_func_fchmod=yes ac_cv_func_fnmatch=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getcwd=yes ac_cv_func_getdomainname=yes ac_cv_func_geteuid=yes ac_cv_func_gethostbyname=yes ac_cv_func_getpass_r=no ac_cv_func_getpgrp_void=yes ac_cv_func_getppid=yes ac_cv_func_getpwuid=yes ac_cv_func_getpwuid_r=yes ac_cv_func_getrlimit=yes ac_cv_func_gettimeofday=yes ac_cv_func_if_nametoindex=yes ac_cv_func_index=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_mach_absolute_time=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_works=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_pipe=yes ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_psignal=yes ac_cv_func_pthread_key_delete=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_realloc_works=yes ac_cv_func_rename=yes ac_cv_func_rindex=yes ac_cv_func_setgrent_void=yes ac_cv_func_setlocale=yes ac_cv_func_setmode=no ac_cv_func_setpgrp_void=yes ac_cv_func_setresuid=no ac_cv_func_setrlimit=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_stat_empty_string_bug=no ac_cv_func_stat_ignores_trailing_slash=no ac_cv_func_strerror=yes ac_cv_func_strftime=yes ac_cv_func_usleep=yes ac_cv_func_utime=yes ac_cv_func_utimes=yes ac_cv_func_va_copy=no ac_cv_func_vsnprintf=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_getpwuid_r=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_alloca_h=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_arpa_tftp_h=yes ac_cv_header_assert_h=yes ac_cv_header_brotli_decode_h=no ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_ifaddrs_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_io_h=no ac_cv_header_libgen_h=yes ac_cv_header_linux_tcp_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in6_h=no ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no ac_cv_header_netinet_tcp_h=yes ac_cv_header_poll_h=yes ac_cv_header_proto_bsdsocket_h=no ac_cv_header_pwd_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_sgtty_h=no ac_cv_header_signal_h=yes ac_cv_header_socket_h=no ac_cv_header_stdbool_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_stropts_h=yes ac_cv_header_sys_filio_h=no 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_resource_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_uio_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_sys_utime_h=no ac_cv_header_sys_wait_h=yes ac_cv_header_sys_xattr_h=yes ac_cv_header_termio_h=no ac_cv_header_termios_h=yes ac_cv_header_time=yes ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_utime_h=yes ac_cv_host=mips-openwrt-linux-gnu ac_cv_int64_t=yes ac_cv_lbl_unaligned_fail=no ac_cv_lib_brotlidec_BrotliDecoderDecompress=no ac_cv_lib_mbedtls_mbedtls_ssl_init=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='/home/user/librerouteros-C60/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/home/user/librerouteros-C60/staging_dir/host/bin/grep -F' ac_cv_path_GREP=/home/user/librerouteros-C60/staging_dir/host/bin/grep ac_cv_path_LDCONFIG= ac_cv_path_PERL=/home/user/librerouteros-C60/staging_dir/host/bin/perl ac_cv_path_SED=/home/user/librerouteros-C60/staging_dir/host/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=mips-openwrt-linux-musl-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=mips-openwrt-linux-musl-gcc ac_cv_prog_CPP='mips-openwrt-linux-musl-gcc -E' ac_cv_prog_OBJDUMP=mips-openwrt-linux-musl-objdump ac_cv_prog_RANLIB=mips-openwrt-linux-musl-gcc-ranlib ac_cv_prog_STRIP=mips-openwrt-linux-musl-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_regexec_segfault_emptystr=no ac_cv_sctp=no ac_cv_sizeof___int64=0 ac_cv_sizeof_char=1 ac_cv_sizeof_curl_off_t=8 ac_cv_sizeof_int16_t=2 ac_cv_sizeof_int32_t=4 ac_cv_sizeof_int64_t=8 ac_cv_sizeof_int=4 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_size_t=4 ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_time_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_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_sys_restartable_syscalls=yes ac_cv_time_r_type=POSIX ac_cv_type_bool=yes ac_cv_type_in_addr_t=yes ac_cv_type_long_long=yes ac_cv_type_sa_family_t=yes ac_cv_type_sig_atomic_t=yes ac_cv_type_signal=void ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_struct_sockaddr_storage=yes ac_cv_type_suseconds_t=yes ac_cv_uchar=no ac_cv_uint64_t=yes ac_cv_uint=yes ac_cv_ulong=yes ac_cv_ushort=yes ac_cv_va_copy=C99 ac_cv_va_val_copy=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes as_cv_unaligned_access=yes curl_cv_def___GNUC__=7 curl_cv_func_alarm=yes curl_cv_func_basename=yes curl_cv_func_closesocket=no curl_cv_func_closesocket_camel=no curl_cv_func_connect=yes curl_cv_func_fcntl=yes curl_cv_func_fcntl_o_nonblock=yes curl_cv_func_freeaddrinfo=yes curl_cv_func_freeifaddrs=yes curl_cv_func_fsetxattr=yes curl_cv_func_ftruncate=yes curl_cv_func_gai_strerror=yes curl_cv_func_getaddrinfo=yes curl_cv_func_getaddrinfo_threadsafe=yes curl_cv_func_gethostbyaddr=yes curl_cv_func_gethostbyaddr_r=yes curl_cv_func_gethostbyname=yes curl_cv_func_gethostbyname_r=yes curl_cv_func_gethostname=yes curl_cv_func_getifaddrs=yes curl_cv_func_getpeername=yes curl_cv_func_getservbyport_r=yes curl_cv_func_getsockname=yes curl_cv_func_gmtime_r=yes curl_cv_func_if_nametoindex=yes curl_cv_func_inet_ntoa_r=no curl_cv_func_inet_ntop=yes curl_cv_func_inet_pton=yes curl_cv_func_ioctl=yes curl_cv_func_ioctl_fionbio=yes curl_cv_func_ioctl_siocgifaddr=yes curl_cv_func_ioctlsocket=no curl_cv_func_ioctlsocket_camel=no curl_cv_func_localtime_r=yes curl_cv_func_memrchr=no curl_cv_func_poll=yes curl_cv_func_recv=yes curl_cv_func_recv_args='int,void *,size_t,int,int' curl_cv_func_select=yes curl_cv_func_select_args='int,fd_set *,struct timeval *,int' curl_cv_func_send=yes curl_cv_func_send_args='int,const void *,size_t,int,int' curl_cv_func_setsockopt=yes curl_cv_func_setsockopt_so_nonblock=no curl_cv_func_sigaction=yes curl_cv_func_siginterrupt=yes curl_cv_func_signal=yes curl_cv_func_sigsetjmp=yes curl_cv_func_socket=yes curl_cv_func_socketpair=yes curl_cv_func_strcasecmp=yes curl_cv_func_strcmpi=no curl_cv_func_strdup=yes curl_cv_func_strerror_r=yes curl_cv_func_stricmp=no curl_cv_func_strncasecmp=yes curl_cv_func_strncmpi=no curl_cv_func_strnicmp=no curl_cv_func_strstr=yes curl_cv_func_strtok_r=yes curl_cv_func_strtoll=yes curl_cv_func_writev=yes curl_cv_gclk_LIBS= curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=no curl_cv_have_def__WIN32=no curl_cv_have_def___DECC=no curl_cv_have_def___DECC_VER=no curl_cv_have_def___GNUC__=yes curl_cv_have_def___HP_cc=no curl_cv_have_def___IBMC__=no curl_cv_have_def___INTEL_COMPILER=no curl_cv_have_def___LCC__=no curl_cv_have_def___SUNPRO_C=no curl_cv_have_def___TINYC__=no curl_cv_have_def___WATCOMC__=no curl_cv_have_def___clang__=no curl_cv_have_def___sgi=no curl_cv_have_def_h_errno=yes curl_cv_header_malloc_h=yes curl_cv_header_memory_h=no curl_cv_header_winber_h=no curl_cv_header_windows_h=no curl_cv_header_winldap_h=no curl_cv_header_winsock2_h=no curl_cv_header_winsock_h=no curl_cv_header_ws2tcpip_h=no curl_cv_msg_nosignal=yes curl_cv_native_windows=no curl_cv_need_header_malloc_h=no curl_cv_recv=yes curl_cv_save_LIBS= curl_cv_select=yes curl_cv_send=yes curl_cv_sig_atomic_t_volatile=no curl_cv_struct_timeval=yes curl_cv_variadic_macros_c99=yes curl_cv_variadic_macros_gcc=yes curl_cv_writable_argv=cross lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=mips-openwrt-linux-musl-ld lt_cv_path_NM=mips-openwrt-linux-musl-gcc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='0' AM_DEFAULT_VERBOSITY='0' AM_V='0' AR='mips-openwrt-linux-musl-gcc-ar' AR_FLAGS='cr' AS='mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections' AUTOCONF='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/missing autoconf' AUTOHEADER='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/missing autoheader' AUTOMAKE='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/missing automake-1.15' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_TRUE='' BUILD_STUB_GSS_FALSE='' BUILD_STUB_GSS_TRUE='#' BUILD_UNITTESTS_FALSE='' BUILD_UNITTESTS_TRUE='#' CC='mips-openwrt-linux-musl-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers' CFLAG_CURL_SYMBOL_HIDING='-fvisibility=hidden' CONFIGURE_OPTIONS='" '\''--target=mips-openwrt-linux'\'' '\''--host=mips-openwrt-linux'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--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'\'' '\''--disable-debug'\'' '\''--disable-ares'\'' '\''--enable-shared'\'' '\''--enable-static'\'' '\''--disable-manual'\'' '\''--without-nss'\'' '\''--without-libmetalink'\'' '\''--without-librtmp'\'' '\''--without-libidn'\'' '\''--without-ca-path'\'' '\''--without-libpsl'\'' '\''--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt'\'' '\''--enable-ipv6'\'' '\''--without-cyassl'\'' '\''--without-gnutls'\'' '\''--without-ssl'\'' '\''--with-mbedtls=/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr'\'' '\''--without-libidn2'\'' '\''--without-libssh2'\'' '\''--without-zlib'\'' '\''--without-nghttp2'\'' '\''--disable-dict'\'' '\''--enable-file'\'' '\''--enable-ftp'\'' '\''--disable-gopher'\'' '\''--enable-http'\'' '\''--disable-imap'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--disable-pop3'\'' '\''--disable-rtsp'\'' '\''--disable-smb'\'' '\''--disable-smtp'\'' '\''--disable-telnet'\'' '\''--disable-tftp'\'' '\''--enable-cookies'\'' '\''--disable-crypto-auth'\'' '\''--disable-libcurl-option'\'' '\''--enable-proxy'\'' '\''--disable-threaded-resolver'\'' '\''--disable-tls-srp'\'' '\''--disable-unix-sockets'\'' '\''--disable-verbose'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=mips-openwrt-linux'\'' '\''target_alias=mips-openwrt-linux'\'' '\''CC=mips-openwrt-linux-musl-gcc'\'' '\''CFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0:curl-7.66.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -ffunction-sections -fdata-sections '\'' '\''LDFLAGS=-L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections '\'' '\''CPPFLAGS=-I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -I/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM '\''"' CPP='mips-openwrt-linux-musl-gcc -E' CPPFLAGS='-isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/include -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include/fortify -isystem /home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include -DCURL_DISABLE_NTLM -I/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/include' CPPFLAG_CURL_STATICLIB='' CROSSCOMPILING_FALSE='#' CROSSCOMPILING_TRUE='' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.66.0' CURL_CA_BUNDLE='"/etc/ssl/certs/ca-certificates.crt"' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='1' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_GOPHER='1' CURL_DISABLE_HTTP='' CURL_DISABLE_IMAP='1' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_POP3='1' CURL_DISABLE_PROXY='' CURL_DISABLE_RTSP='1' CURL_DISABLE_SMB='1' CURL_DISABLE_SMTP='1' CURL_DISABLE_TELNET='1' CURL_DISABLE_TFTP='1' CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE='' CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#' CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE='' CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#' CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#' CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='' CURL_LT_SHLIB_VERSIONED_FLAVOUR='' CURL_NETWORK_AND_TIME_LIBS='' CURL_NETWORK_LIBS='' CURL_WITH_MULTI_SSL='' CYGPATH_W='echo' DEFAULT_SSL_BACKEND='no' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DOING_CURL_SYMBOL_HIDING_FALSE='#' DOING_CURL_SYMBOL_HIDING_TRUE='' DOING_NATIVE_WINDOWS_FALSE='' DOING_NATIVE_WINDOWS_TRUE='#' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/home/user/librerouteros-C60/staging_dir/host/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='yes' EXEEXT='' FGREP='/home/user/librerouteros-C60/staging_dir/host/bin/grep -F' FISH_FUNCTIONS_DIR='${prefix}/share/fish/vendor_completions.d' GCOV='' GREP='/home/user/librerouteros-C60/staging_dir/host/bin/grep' HAVE_BROTLI='' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='' HAVE_LIBZ='' HAVE_LIBZ_FALSE='' HAVE_LIBZ_TRUE='#' HAVE_OPENSSL_SRP='' HAVE_PROTO_BSDSOCKET_H='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LCOV='' LD='mips-openwrt-linux-musl-ld' LDFLAGS='-L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/user/librerouteros-C60/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/user/librerouteros-C60/staging_dir/target-mips_24kc_musl/usr/lib' LIBCURL_LIBS='-lmbedtls -lmbedx509 -lmbedcrypto' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='-lmbedtls -lmbedx509 -lmbedcrypto' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/missing makeinfo' MANIFEST_TOOL=':' MANOPT='' MKDIR_P='/bin/mkdir -p' NM='mips-openwrt-linux-musl-gcc-nm' NMEDIT='' NROFF='' NSS_LIBS='' OBJDUMP='mips-openwrt-linux-musl-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='curl' PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/' PACKAGE_NAME='curl' PACKAGE_STRING='curl -' PACKAGE_TARNAME='curl' PACKAGE_URL='' PACKAGE_VERSION='-' PATH_SEPARATOR=':' PERL='/home/user/librerouteros-C60/staging_dir/host/bin/perl' PKGADD_NAME='curl - a client that groks URLs' PKGADD_PKG='HAXXcurl' PKGADD_VENDOR='curl.haxx.se' PKGCONFIG='no' RANDOM_FILE='' RANLIB='mips-openwrt-linux-musl-gcc-ranlib' REQUIRE_LIB_DEPS='yes' SED='/home/user/librerouteros-C60/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/bin/bash' SSL_BACKENDS='mbedTLS' SSL_ENABLED='1' SSL_LIBS='' STRIP='mips-openwrt-linux-musl-strip' SUPPORT_FEATURES='SSL IPv6' SUPPORT_PROTOCOLS='FILE FTP FTPS HTTP HTTPS' USE_ARES='' USE_CPPFLAG_CURL_STATICLIB_FALSE='' USE_CPPFLAG_CURL_STATICLIB_TRUE='#' USE_EMBEDDED_ARES_FALSE='' USE_EMBEDDED_ARES_TRUE='#' USE_EXPLICIT_LIB_DEPS_FALSE='#' USE_EXPLICIT_LIB_DEPS_TRUE='' USE_GNUTLS='' USE_GNUTLS_NETTLE='' USE_LIBPSL_FALSE='' USE_LIBPSL_TRUE='#' USE_LIBRTMP='' USE_LIBSSH2='' USE_LIBSSH='' USE_MANUAL_FALSE='' USE_MANUAL_TRUE='#' USE_MBEDTLS='yes' USE_MESALINK='' USE_NGHTTP2='' USE_NGHTTP3='' USE_NGTCP2='' USE_NGTCP2_CRYPTO_OPENSSL='' USE_NSS='' USE_OPENLDAP='' USE_QUICHE='' USE_SCHANNEL='' USE_SECTRANSP='' USE_UNIX_SOCKETS='' USE_WINDOWS_SSPI='' USE_WOLFSSL='' VERSION='-' VERSIONNUM='074200' ZLIB_LIBS='' ZSH_FUNCTIONS_DIR='${prefix}/share/zsh/site-functions' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='/usr/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='mips-openwrt-linux-gnu' host_alias='mips-openwrt-linux' host_cpu='mips' host_os='linux-gnu' host_vendor='openwrt' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/info' install_sh='${SHELL} /home/user/librerouteros-C60/build_dir/target-mips_24kc_musl/curl-7.66.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='/usr/lib' libext='a' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&$$&&;s&^&&' psdir='${docdir}' sbindir='/usr/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/etc' target_alias='mips-openwrt-linux' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "curl" #define PACKAGE_TARNAME "curl" #define PACKAGE_VERSION "-" #define PACKAGE_STRING "curl -" #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" #define PACKAGE_URL "" #define PACKAGE "curl" #define VERSION "-" #define OS "mips-openwrt-linux-gnu" #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 HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_DICT 1 #define CURL_DISABLE_TELNET 1 #define CURL_DISABLE_TFTP 1 #define CURL_DISABLE_POP3 1 #define CURL_DISABLE_IMAP 1 #define CURL_DISABLE_SMB 1 #define CURL_DISABLE_SMTP 1 #define CURL_DISABLE_GOPHER 1 #define CURL_DISABLE_LIBCURL_OPTION 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define USE_MBEDTLS 1 #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_LINUX_TCP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_FCNTL_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_TIME_H 1 #define HAVE_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_ARPA_TFTP_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_VARIADIC_MACROS_C99 1 #define HAVE_VARIADIC_MACROS_GCC 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_STRUCT_TIMEVAL 1 #define SIZEOF_SIZE_T 4 #define SIZEOF_LONG 4 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define SIZEOF_TIME_T 4 #define SIZEOF_OFF_T 8 #define SIZEOF_CURL_OFF_T 8 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define CURL_SA_FAMILY_T sa_family_t #define HAVE_SYS_TYPES_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIG_ATOMIC_T 1 #define RETSIGTYPE void #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define SELECT_TYPE_ARG1 int #define SELECT_TYPE_ARG234 fd_set * #define SELECT_TYPE_RETV int #define SELECT_QUAL_ARG5 #define SELECT_TYPE_ARG5 struct timeval * #define HAVE_SELECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define RECV_TYPE_ARG1 int #define RECV_TYPE_ARG2 void * #define RECV_TYPE_ARG3 size_t #define RECV_TYPE_ARG4 int #define RECV_TYPE_RETV int #define HAVE_RECV 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define SEND_TYPE_ARG1 int #define SEND_TYPE_ARG3 size_t #define SEND_TYPE_ARG4 int #define SEND_TYPE_RETV int #define SEND_QUAL_ARG2 const #define SEND_TYPE_ARG2 void * #define HAVE_SEND 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_MSG_NOSIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ALARM 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_BASENAME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_CONNECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FCNTL 1 #define HAVE_FCNTL_O_NONBLOCK 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_NETDB_H 1 #define HAVE_FREEADDRINFO 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_FREEIFADDRS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_FSETXATTR 1 #define HAVE_FSETXATTR_5 1 #define HAVE_FTRUNCATE 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDLIB_H 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETADDRINFO_THREADSAFE 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_GETHOSTBYADDR_R 1 #define HAVE_GETHOSTBYADDR_R_8 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYNAME_R 1 #define HAVE_GETHOSTBYNAME_R_6 1 #define GETHOSTNAME_TYPE_ARG2 unsigned int #define HAVE_GETHOSTNAME 1 #define HAVE_GETPEERNAME 1 #define HAVE_GETSOCKNAME 1 #define HAVE_NET_IF_H 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_GETIFADDRS 1 #define HAVE_GETSERVBYPORT_R 1 #define GETSERVBYPORT_R_ARGS 6 #define GETSERVBYPORT_R_BUFSIZE 4096 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_GMTIME_R 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_STROPTS_H 1 #define HAVE_IOCTL 1 #define HAVE_IOCTL_FIONBIO 1 #define HAVE_IOCTL_SIOCGIFADDR 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_POLL_FINE 1 #define HAVE_SETSOCKOPT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGACTION 1 #define HAVE_SIGINTERRUPT 1 #define HAVE_SIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGSETJMP 1 #define HAVE_SOCKET 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR_R 1 #define HAVE_POSIX_STRERROR_R 1 #define STRERROR_R_TYPE_ARG3 size_t #define HAVE_STRNCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOLL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_DECL_GETPWUID_R 1 #define HAVE_FNMATCH 1 #define HAVE_GETEUID 1 #define HAVE_GETPPID 1 #define HAVE_GETPWUID 1 #define HAVE_GETPWUID_R 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_PIPE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_USLEEP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define ENABLE_IPV6 1 #define CURL_DISABLE_VERBOSE_STRINGS 1 #define CURL_DISABLE_CRYPTO_AUTH 1 #define NTLM_WB_ENABLED 1 #define NTLM_WB_FILE "/usr/bin/ntlm_auth" #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) configure: exit 0