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 --enable-ipv6 --without-cyassl --without-gnutls --without-ssl --without-mbedtls --without-libidn --without-libssh2 --without-zlib --disable-dict --disable-file --disable-ftp --disable-gopher --disable-http --disable-imap --disable-ldap --disable-ldaps --disable-pop3 --disable-rtsp --disable-smb --disable-smtp --disable-telnet --disable-tftp --disable-cookies --disable-crypto-auth --disable-libcurl-option --disable-proxy --disable-threaded-resolver --disable-tls-srp --disable-unix-sockets --disable-verbose ## --------- ## ## Platform. ## ## --------- ## hostname = anneke uname -m = x86_64 uname -r = 4.19.97-gentoo uname -s = Linux uname -v = #1 SMP Sun Jan 19 17:29:26 CET 2020 /usr/bin/uname -p = AMD Ryzen 5 1600 Six-Core Processor /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: /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/host/bin PATH: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin PATH: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin PATH: /mnt/gold/openwrt/lede/staging_dir/host/bin PATH: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin PATH: /mnt/gold/openwrt/lede/staging_dir/host/bin PATH: /mnt/gold/openwrt/lede/staging_dir/host/bin PATH: /home/duvi/.nvm/versions/node/v8.9.4/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/lib/llvm/9/bin PATH: /var/qmail/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2959: loading site script /mnt/gold/openwrt/lede/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:3070: checking whether to enable maintainer-specific portions of Makefiles configure:3079: result: no configure:3103: checking whether make supports nested variables configure:3120: result: yes configure:3134: checking whether to enable debug build options configure:3153: result: no configure:3157: checking whether to enable compiler optimizer configure:3178: result: (assumed) yes configure:3190: checking whether to enable strict compiler warnings configure:3209: result: no configure:3213: checking whether to enable compiler warnings as errors configure:3232: result: no configure:3236: checking whether to enable curl debug memory tracking configure:3255: result: no configure:3269: checking whether to enable hiding of library internal symbols configure:3290: result: yes configure:3301: checking whether to enable c-ares for DNS lookups configure:3323: result: no configure:3327: checking whether to disable dependency on -lrt configure:3343: result: (assumed no) configure:3375: checking for path separator configure:3377: result: : configure:3403: checking for sed configure:3422: found /mnt/gold/openwrt/lede/staging_dir/host/bin/sed configure:3435: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/sed configure:3452: checking for grep configure:3471: found /mnt/gold/openwrt/lede/staging_dir/host/bin/grep configure:3484: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/grep configure:3500: checking for egrep configure:3503: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/grep -E configure:3886: checking for a BSD-compatible install configure:3954: result: /usr/bin/install -c configure:3976: checking for mips-openwrt-linux-gcc configure:4003: result: mips-openwrt-linux-musl-gcc configure:4272: checking for C compiler version configure:4281: mips-openwrt-linux-musl-gcc --version >&5 mips-openwrt-linux-musl-gcc (LEDE GCC 5.4.0 r4013-981f5f7e40) 5.4.0 Copyright (C) 2015 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:4292: $? = 0 configure:4281: mips-openwrt-linux-musl-gcc -v >&5 Reading specs from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/specs COLLECT_GCC=mips-openwrt-linux-musl-gcc COLLECT_LTO_WRAPPER=/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/libexec/gcc/mips-openwrt-linux-musl/5.4.0/lto-wrapper Target: mips-openwrt-linux-musl Configured with: /mnt/gold/openwrt/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0/configure --with-bugurl=http://www.lede-project.org/bugs/ --with-pkgversion='LEDE GCC 5.4.0 r4013-981f5f7e40' --prefix=/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16 --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=/mnt/gold/openwrt/lede/staging_dir/host --with-mpfr=/mnt/gold/openwrt/lede/staging_dir/host --with-mpc=/mnt/gold/openwrt/lede/staging_dir/host --disable-decimal-float --with-mips-plt --with-diagnostics-color=auto-if-env --disable-libssp --enable-__cxa_atexit --with-headers=/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include --disable-libsanitizer --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib --enable-lto --with-libelf=/mnt/gold/openwrt/lede/staging_dir/host Thread model: posix gcc version 5.4.0 (LEDE GCC 5.4.0 r4013-981f5f7e40) configure:4292: $? = 0 configure:4281: 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:4292: $? = 1 configure:4281: mips-openwrt-linux-musl-gcc -qversion >&5 mips-openwrt-linux-musl-gcc: error: unrecognized command line option '-qversion' mips-openwrt-linux-musl-gcc: fatal error: no input files compilation terminated. configure:4292: $? = 1 configure:4311: checking whether the C compiler works configure:4333: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:4337: $? = 0 configure:4385: result: yes configure:4388: checking for C compiler default output file name configure:4390: result: a.out configure:4396: checking for suffix of executables configure:4403: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:4407: $? = 0 configure:4429: result: configure:4450: checking whether we are cross compiling configure:4488: result: yes configure:4493: checking for suffix of object files configure:4514: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4518: $? = 0 configure:4539: result: o configure:4543: checking whether we are using the GNU C compiler configure:4561: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4561: $? = 0 configure:4570: result: yes configure:4579: checking whether mips-openwrt-linux-musl-gcc accepts -g configure:4598: mips-openwrt-linux-musl-gcc -c -g -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4598: $? = 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:4612: mips-openwrt-linux-musl-gcc -c -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4612: $? = 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:4627: mips-openwrt-linux-musl-gcc -c -g -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4627: $? = 0 configure:4637: result: yes configure:4654: checking for mips-openwrt-linux-musl-gcc option to accept ISO C89 configure:4716: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:4716: $? = 0 configure:4729: result: none needed configure:4754: checking whether mips-openwrt-linux-musl-gcc understands -c and -o together configure:4775: mips-openwrt-linux-musl-gcc -c conftest.c -o conftest2.o cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4778: $? = 0 configure:4775: mips-openwrt-linux-musl-gcc -c conftest.c -o conftest2.o cc1: note: someone does not honour COPTS correctly, passed 0 times configure:4778: $? = 0 configure:4790: result: yes configure:4813: checking how to run the C preprocessor configure:4844: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c configure:4844: $? = 0 configure:4858: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4858: $? = 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:4883: result: mips-openwrt-linux-musl-gcc -E configure:4903: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c configure:4903: $? = 0 configure:4917: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4917: $? = 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:4958: checking whether build environment is sane configure:5013: result: yes configure:5069: checking for mips-openwrt-linux-strip configure:5096: result: mips-openwrt-linux-musl-strip configure:5161: checking for a thread-safe mkdir -p configure:5200: result: /bin/mkdir -p configure:5207: checking for gawk configure:5223: found /usr/bin/gawk configure:5234: result: gawk configure:5245: checking whether make sets $(MAKE) configure:5267: result: yes configure:5297: checking for style of include used by make configure:5325: result: GNU configure:5426: checking dependency style of mips-openwrt-linux-musl-gcc configure:5537: result: gcc3 configure:5600: checking curl version configure:5602: result: 7.52.1 configure:5647: checking build system type configure:5661: result: x86_64-pc-linux-gnu configure:5681: checking host system type configure:5694: result: mips-openwrt-linux-gnu configure:5743: checking for sys/types.h configure:5743: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:5743: $? = 0 configure:5743: result: yes configure:5743: checking for stdint.h configure:5743: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:5743: $? = 0 configure:5743: result: yes configure:5743: checking for inttypes.h configure:5743: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:5743: $? = 0 configure:5743: result: yes configure:5756: checking for grep that handles long lines and -e configure:5814: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/grep configure:5819: checking for egrep configure:5881: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/grep -E configure:5886: checking for ANSI C header files configure:5905: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:5905: $? = 0 configure:5989: result: yes configure:6002: checking for sys/types.h configure:6002: result: yes configure:6002: checking for sys/stat.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6002: checking for stdlib.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6002: checking for string.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6002: checking for memory.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6002: checking for strings.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6002: checking for inttypes.h configure:6002: result: yes configure:6002: checking for stdint.h configure:6002: result: yes configure:6002: checking for unistd.h configure:6002: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6002: $? = 0 configure:6002: result: yes configure:6015: checking if cpp -P is needed configure:6032: result: yes configure:6036: checking if cpp -P works configure:6055: result: yes configure:6084: checking size of long configure:6103: result: 4 configure:6117: checking size of void* configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6122: $? = 0 configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:61:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 0)]; ^ configure:6122: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:61:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 1)]; ^ configure:6122: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:61:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 3)]; ^ configure:6122: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6122: $? = 0 configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6122: $? = 0 configure:6122: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6122: $? = 0 configure:6136: result: 4 configure:6174: checking for 64-bit curl_off_t data type configure:6224: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6224: $? = 0 configure:6254: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:6254: $? = 0 configure:6290: result: int64_t configure:6415: checking size of curl_off_t configure:6417: result: 8 configure:6420: checking formatting string directive for curl_off_t configure:6460: result: "lld" configure:6463: checking formatting string directive for unsigned curl_off_t configure:6465: result: "llu" configure:6469: checking constant suffix string for curl_off_t configure:6536: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6536: $? = 0 configure:6550: result: LL configure:6552: checking constant suffix string for unsigned curl_off_t configure:6554: result: ULL configure:6624: checking if OS is AIX (to define _ALL_SOURCE) configure:6644: result: no configure:6654: checking if _THREAD_SAFE is already defined configure:6675: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:46:7: error: unknown type name 'force' force compilation error ^ conftest.c:46:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:6675: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _THREAD_SAFE | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6683: result: no configure:6691: checking if _THREAD_SAFE is actually needed configure:6710: result: no configure:6715: checking if _THREAD_SAFE is onwards defined configure:6732: result: no configure:6739: checking if _REENTRANT is already defined configure:6760: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:46:7: error: unknown type name 'force' force compilation error ^ conftest.c:46:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:6760: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _REENTRANT | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6768: result: no configure:6776: checking if _REENTRANT is actually needed configure:6807: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6807: $? = 0 configure:6838: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:6838: $? = 0 configure:6909: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:6909: $? = 0 configure:6988: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:6988: $? = 0 configure:7067: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:7067: $? = 0 configure:7146: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:7146: $? = 0 configure:7225: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccxVwQoT.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:7225: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | /* 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:7308: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:7308: $? = 0 configure:7387: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:7387: $? = 0 configure:7466: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccyF6AQ9.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `getprotobyname_r' collect2: error: ld returned 1 exit status configure:7466: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | /* 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:7545: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:7545: $? = 0 configure:7601: result: no configure:7606: checking if _REENTRANT is onwards defined configure:7623: result: no configure:7636: checking for special C compiler options needed for large files configure:7680: result: no configure:7686: checking for _FILE_OFFSET_BITS value needed for large files configure:7710: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:7710: $? = 0 configure:7741: result: no configure:7871: checking how to print strings configure:7898: result: printf configure:7919: checking for a sed that does not truncate output configure:7983: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/sed configure:8000: checking for fgrep configure:8062: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/grep -F configure:8097: checking for ld used by mips-openwrt-linux-musl-gcc configure:8164: result: mips-openwrt-linux-musl-ld configure:8171: checking if the linker (mips-openwrt-linux-musl-ld) is GNU ld configure:8186: result: yes configure:8198: checking for BSD- or MS-compatible name lister (nm) configure:8247: result: mips-openwrt-linux-musl-gcc-nm configure:8377: checking the name lister (mips-openwrt-linux-musl-gcc-nm) interface configure:8384: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:8387: mips-openwrt-linux-musl-gcc-nm "conftest.o" configure:8390: output 00000000 B some_variable configure:8397: result: BSD nm configure:8400: checking whether ln -s works configure:8404: result: yes configure:8412: checking the maximum length of command line arguments configure:8537: result: 1572864 configure:8554: checking whether the shell understands some XSI constructs configure:8564: result: yes configure:8568: checking whether the shell understands "+=" configure:8574: result: yes configure:8609: checking how to convert x86_64-pc-linux-gnu file names to mips-openwrt-linux-gnu format configure:8649: result: func_convert_file_noop configure:8656: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8676: result: func_convert_file_noop configure:8683: checking for mips-openwrt-linux-musl-ld option to reload object files configure:8690: result: -r configure:8724: checking for mips-openwrt-linux-objdump configure:8751: result: mips-openwrt-linux-musl-objdump configure:8820: checking how to recognize dependent libraries configure:9022: result: pass_all configure:9067: checking for mips-openwrt-linux-dlltool configure:9097: result: no configure:9107: checking for dlltool configure:9137: result: no configure:9164: checking how to associate runtime and link libraries configure:9191: result: printf %s\n configure:9207: checking for mips-openwrt-linux-ar configure:9234: result: mips-openwrt-linux-musl-gcc-ar configure:9315: checking for archiver @FILE support configure:9331: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:9331: $? = 0 configure:9334: mips-openwrt-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') configure:9337: $? = 0 configure:9342: mips-openwrt-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ar: conftest.o: No such file or directory configure:9345: $? = 1 configure:9357: result: @ configure:9375: checking for mips-openwrt-linux-strip configure:9402: result: mips-openwrt-linux-musl-strip configure:9474: checking for mips-openwrt-linux-ranlib configure:9501: result: mips-openwrt-linux-musl-gcc-ranlib configure:9642: checking command to parse mips-openwrt-linux-musl-gcc-nm output from mips-openwrt-linux-musl-gcc object configure:9761: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:9764: $? = 0 configure:9768: 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:9771: $? = 0 configure:9837: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c conftstm.o >&5 configure:9840: $? = 0 configure:9878: result: ok configure:9915: checking for sysroot configure:9945: result: no configure:10147: checking for mips-openwrt-linux-mt configure:10177: result: no configure:10187: checking for mt configure:10217: result: no configure:10237: checking if : is a manifest tool configure:10243: : '-?' configure:10251: result: no configure:10879: checking for dlfcn.h configure:10879: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:10879: $? = 0 configure:10879: result: yes configure:11471: checking for objdir configure:11486: result: .libs configure:11756: checking if mips-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:11774: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/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:11778: $? = 0 configure:11791: result: no configure:12101: checking for mips-openwrt-linux-musl-gcc option to produce PIC configure:12108: result: -fPIC -DPIC configure:12116: checking if mips-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works configure:12134: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -fPIC -DPIC -DPIC conftest.c >&5 configure:12138: $? = 0 configure:12151: result: yes configure:12180: checking if mips-openwrt-linux-musl-gcc static flag -static works configure:12208: result: yes configure:12223: checking if mips-openwrt-linux-musl-gcc supports -c -o file.o configure:12244: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -o out/conftest2.o conftest.c >&5 configure:12248: $? = 0 configure:12270: result: yes configure:12278: checking if mips-openwrt-linux-musl-gcc supports -c -o file.o configure:12325: result: yes configure:12358: checking whether the mips-openwrt-linux-musl-gcc linker (mips-openwrt-linux-musl-ld) supports shared libraries configure:13514: result: yes configure:13551: checking whether -lc should be explicitly linked in configure:13559: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:13562: $? = 0 configure:13577: mips-openwrt-linux-musl-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /mnt/gold/openwrt/lede/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:13580: $? = 0 configure:13594: result: no configure:13759: checking dynamic linker characteristics configure:14272: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14272: $? = 0 configure:14494: result: GNU/Linux ld.so configure:14601: checking how to hardcode library paths into programs configure:14626: result: immediate configure:15151: checking whether stripping libraries is possible configure:15156: result: yes configure:15191: checking if libtool supports shared libraries configure:15193: result: yes configure:15196: checking whether to build shared libraries configure:15217: result: yes configure:15220: checking whether to build static libraries configure:15224: result: yes configure:15293: checking whether to build shared libraries with -version-info configure:15304: result: yes configure:15311: checking whether to build shared libraries with -no-undefined configure:15324: result: no configure:15331: checking whether to build shared libraries with -mimpure-text configure:15341: result: no configure:15368: checking whether to build shared libraries with PIC configure:15370: result: yes configure:15372: checking whether to build static libraries with PIC configure:15374: result: no configure:15381: checking whether to build shared libraries only configure:15389: result: no configure:15396: checking whether to build static libraries only configure:15404: result: no configure:15494: checking for inline configure:15510: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:15510: $? = 0 configure:15518: result: inline configure:15553: checking if compiler is DEC/Compaq/HP C configure:15577: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15577: $? = 0 configure:15621: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15621: $? = 0 configure:15655: result: no configure:15660: checking if compiler is HP-UX C configure:15684: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15684: $? = 0 configure:15717: result: no configure:15722: checking if compiler is IBM C configure:15746: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15746: $? = 0 configure:15787: result: no configure:15792: checking if compiler is Intel C configure:15816: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15816: $? = 0 configure:15911: result: no configure:15916: checking if compiler is clang configure:15940: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:15940: $? = 0 configure:15984: result: no configure:15989: checking if compiler is GNU C configure:16013: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16013: $? = 0 configure:16037: result: yes configure:16079: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16079: $? = 0 configure:16107: checking if compiler is LCC configure:16131: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16131: $? = 0 configure:16164: result: no configure:16169: checking if compiler is SGI MIPSpro C configure:16193: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16193: $? = 0 configure:16237: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16237: $? = 0 configure:16281: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16281: $? = 0 configure:16316: result: no configure:16321: checking if compiler is SGI MIPS C configure:16345: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16345: $? = 0 configure:16389: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16389: $? = 0 configure:16424: result: no configure:16429: checking if compiler is SunPro C configure:16453: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16453: $? = 0 configure:16486: result: no configure:16491: checking if compiler is Tiny C configure:16515: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16515: $? = 0 configure:16548: result: no configure:16553: checking if compiler is Watcom C configure:16577: mips-openwrt-linux-musl-gcc -E -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -P conftest.c configure:16577: $? = 0 configure:16664: result: no configure:17018: checking if compiler accepts debug disabling options configure:17050: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:17050: $? = 0 configure:17080: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:17080: $? = 0 configure:17141: result: yes configure:17143: compiler options added: configure:17175: checking if compiler optimizer assumed setting might be used configure:17213: result: no configure:17641: checking if compiler accepts strict warning options configure:17665: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:17665: $? = 0 configure:17695: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:17695: $? = 0 configure:17756: result: yes configure:17758: compiler options added: -Wno-system-headers configure:17788: checking if compiler halts on compilation errors configure:17805: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:45:7: error: unknown type name 'force' force compilation error ^ conftest.c:45:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:17805: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:17813: result: yes configure:17820: checking if compiler halts on negative sized arrays configure:17838: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:41:20: error: size of array 'bad_t' is negative typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; ^ configure:17838: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #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:17846: result: yes configure:17853: checking if compiler halts on function prototype mismatch configure:17882: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:42:11: error: conflicting types for 'rand' int rand(int n); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/stdlib.h:20:0, from conftest.c:41: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/stdlib.h:35:5: note: previous declaration of 'rand' was here int rand (void); ^ conftest.c:43:11: error: conflicting types for 'rand' int rand(int n) ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/stdlib.h:20:0, from conftest.c:41: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/stdlib.h:35:5: note: previous declaration of 'rand' was here int rand (void); ^ configure:17882: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #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:17890: result: yes configure:17897: checking if compiler supports hiding library internal symbols configure:17991: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -fvisibility=hidden -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:17991: $? = 0 configure:18014: result: yes configure:18127: checking for windows.h configure:18157: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:45:21: fatal error: windows.h: No such file or directory compilation terminated. configure:18157: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #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:18169: result: no configure:18187: checking whether build target is a native Windows one configure:18229: result: no configure:18541: checking whether build target supports WIN32 file API configure:18622: result: no configure:18637: checking for good-to-use Mac CFLAGS configure:18639: result: no configure:18685: checking whether to support http configure:18691: result: no configure:18696: WARNING: disable HTTP disables FTP over proxy and RTSP configure:18716: checking whether to support ftp configure:18722: result: no configure:18740: checking whether to support file configure:18746: result: no configure:18764: checking whether to support ldap configure:18770: result: no configure:18790: checking whether to support ldaps configure:18796: result: no configure:18846: checking whether to support rtsp configure:18852: result: no configure:18882: checking whether to support proxies configure:18888: result: no configure:18907: checking whether to support dict configure:18913: result: no configure:18931: checking whether to support telnet configure:18937: result: no configure:18955: checking whether to support tftp configure:18961: result: no configure:18980: checking whether to support pop3 configure:18986: result: no configure:19006: checking whether to support imap configure:19012: result: no configure:19032: checking whether to support smb configure:19038: result: no configure:19057: checking whether to support smtp configure:19063: result: no configure:19082: checking whether to support gopher configure:19088: result: no configure:19109: checking whether to provide built-in manual configure:19115: result: no configure:19131: checking whether to enable generation of C code configure:19137: result: no configure:19156: checking whether to use libgcc configure:19171: result: no configure:19178: checking if X/Open network library is required configure:19198: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:65:3: error: unknown type name 'force' force compilation error ^ conftest.c:65:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ conftest.c:67:1: error: expected declaration or statement at end of input } ^ configure:19198: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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:19205: result: no configure:19209: checking for gethostbyname configure:19209: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:19209: $? = 0 configure:19209: result: yes configure:19635: checking for windows.h configure:19677: result: no configure:19695: checking for winsock.h configure:19738: result: no configure:19751: checking for winsock2.h configure:19794: result: no configure:19808: checking for connect in libraries configure:19835: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:19835: $? = 0 configure:19853: result: yes configure:19866: checking whether time.h and sys/time.h may both be included configure:19885: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:19885: $? = 0 configure:19892: result: yes configure:19904: checking for sys/types.h configure:19904: result: yes configure:19904: checking sys/time.h usability configure:19904: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:19904: $? = 0 configure:19904: result: yes configure:19904: checking sys/time.h presence configure:19904: mips-openwrt-linux-musl-gcc -E -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c configure:19904: $? = 0 configure:19904: result: yes configure:19904: checking for sys/time.h configure:19904: result: yes configure:19904: checking time.h usability configure:19904: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:19904: $? = 0 configure:19904: result: yes configure:19904: checking time.h presence configure:19904: mips-openwrt-linux-musl-gcc -E -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c configure:19904: $? = 0 configure:19904: result: yes configure:19904: checking for time.h configure:19904: result: yes configure:19914: checking for monotonic clock_gettime configure:19947: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:19947: $? = 0 configure:19949: result: yes configure:19967: checking for clock_gettime in libraries configure:20009: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:20009: $? = 0 configure:20030: result: no additional lib required configure:20142: WARNING: zlib disabled configure:21068: checking whether to enable IPv6 configure:21078: result: yes configure:21131: checking if struct sockaddr_in6 has sin6_scope_id member configure:21150: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:21150: $? = 0 configure:21155: result: yes configure:21167: checking if argv can be written to configure:21211: result: no configure:21213: WARNING: the previous check could not be made default was used configure:21257: checking if GSS-API support is requested configure:21388: result: no configure:21457: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:21480: result: no configure:21496: checking whether to enable Apple OS native SSL/TLS configure:21512: result: no configure:24557: checking for ssl_version in -laxtls configure:24579: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c -laxtls >&5 /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find -laxtls collect2: error: ld returned 1 exit status configure:24579: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char ssl_version (); | int main (void) | { | return ssl_version (); | ; | return 0; | } configure:24588: result: no configure:24621: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure:24623: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this. configure:24634: checking default CA cert bundle/path configure:24709: WARNING: skipped the ca-cert path detection when cross-compiling configure:24760: result: no configure:24764: checking whether to use builtin CA store of SSL library configure:24778: result: no configure:24802: checking for library containing psl_builtin configure:24830: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccHknAsg.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `psl_builtin' collect2: error: ld returned 1 exit status configure:24830: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:24830: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c -lpsl >&5 /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find -lpsl collect2: error: ld returned 1 exit status configure:24830: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:24847: result: no configure:24859: WARNING: libpsl was not found configure:25747: checking whether versioned symbols are wanted configure:25795: result: no configure:25814: checking whether to enable Windows native IDN (Windows native builds only) configure:25826: result: no configure:25924: checking whether to build with libidn2 configure:25936: result: no configure:26500: checking for libnghttp2 options with pkg-config configure:26511: result: no configure:26649: checking for ANSI C header files configure:26752: result: yes configure:26762: checking for malloc.h configure:26787: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26787: $? = 0 configure:26799: result: yes configure:26827: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26827: $? = 0 configure:26850: checking for memory.h configure:26875: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:71:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] void *p = malloc(10); ^ conftest.c:71:19: warning: incompatible implicit declaration of built-in function 'malloc' conftest.c:71:19: note: include '' or provide a declaration of 'malloc' conftest.c:72:19: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] void *q = calloc(10,10); ^ conftest.c:72:19: warning: incompatible implicit declaration of built-in function 'calloc' conftest.c:72:19: note: include '' or provide a declaration of 'calloc' conftest.c:73:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(p); ^ conftest.c:73:9: warning: incompatible implicit declaration of built-in function 'free' conftest.c:73:9: note: include '' or provide a declaration of 'free' configure:26875: $? = 0 configure:26887: result: yes configure:26915: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26915: $? = 0 configure:26981: checking for sys/types.h configure:26981: result: yes configure:26981: checking for sys/time.h configure:26981: result: yes configure:26981: checking for sys/select.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/socket.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/ioctl.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/uio.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for assert.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for unistd.h configure:26981: result: yes configure:26981: checking for stdlib.h configure:26981: result: yes configure:26981: checking for limits.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for arpa/inet.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for net/if.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for netinet/in.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/un.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for netinet/tcp.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for netdb.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/sockio.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:103:24: fatal error: sys/sockio.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for sys/stat.h configure:26981: result: yes configure:26981: checking for sys/param.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for termios.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for termio.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:106:20: fatal error: termio.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for sgtty.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:106:19: fatal error: sgtty.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for fcntl.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for alloca.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for time.h configure:26981: result: yes configure:26981: checking for io.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:109:16: fatal error: io.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for pwd.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for utime.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/utime.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:111:23: fatal error: sys/utime.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for sys/poll.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 In file included from conftest.c:111:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^ configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for poll.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for socket.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:113:20: fatal error: socket.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for sys/resource.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for libgen.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for locale.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for errno.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for stdbool.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for arpa/tftp.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for sys/filio.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:119:23: fatal error: sys/filio.h: No such file or directory compilation terminated. configure:26981: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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_SYS_UN_H | #include | #endif | | | | #include configure:26981: result: no configure:26981: checking for sys/wait.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:26981: checking for setjmp.h configure:26981: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:26981: $? = 0 configure:26981: result: yes configure:27013: checking for an ANSI C-conforming const configure:27078: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27078: $? = 0 configure:27085: result: yes configure:27094: checking for compiler support of C99 variadic macro style configure:27124: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27124: $? = 0 configure:27136: result: yes configure:27147: checking for compiler support of old gcc variadic macro style configure:27177: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27177: $? = 0 configure:27189: result: yes configure:27201: checking for size_t configure:27201: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27201: $? = 0 configure:27201: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:136:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:27201: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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:27201: result: yes configure:27212: checking whether time.h and sys/time.h may both be included configure:27238: result: yes configure:27250: checking for sys/types.h configure:27250: result: yes configure:27250: checking for sys/time.h configure:27250: result: yes configure:27250: checking for time.h configure:27250: result: yes configure:27250: checking for sys/socket.h configure:27250: result: yes configure:27260: checking for struct timeval configure:27313: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27313: $? = 0 configure:27325: result: yes configure:27379: checking size of size_t configure:27398: result: 4 configure:27412: checking size of long configure:27431: result: 4 configure:27445: checking size of int configure:27464: result: 4 configure:27478: checking size of short configure:27497: result: 2 configure:27522: checking size of time_t configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27527: $? = 0 configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:147:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)]; ^ configure:27527: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:147:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)]; ^ configure:27527: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:147:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)]; ^ configure:27527: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | /* 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) | { | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27527: $? = 0 configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27527: $? = 0 configure:27527: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27527: $? = 0 configure:27541: result: 4 configure:27555: checking size of off_t configure:27574: result: 8 configure:27596: checking for long long configure:27596: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27596: $? = 0 configure:27596: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:149:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:27596: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_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:27596: result: yes configure:27607: checking if numberLL works configure:27624: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27624: $? = 0 configure:27626: result: yes configure:27643: checking for ssize_t configure:27643: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27643: $? = 0 configure:27643: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:151:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:27643: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_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:27643: result: yes configure:27654: checking for bool configure:27654: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27654: $? = 0 configure:27654: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:127:19: error: expected expression before ')' token if (sizeof ((bool))) ^ configure:27654: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_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:27654: result: yes configure:27689: checking for windows.h configure:27731: result: no configure:27749: checking for winsock2.h configure:27792: result: no configure:27805: checking for ws2tcpip.h configure:27849: result: no configure:27875: checking for sys/types.h configure:27875: result: yes configure:27875: checking for sys/socket.h configure:27875: result: yes configure:27900: checking for curl_socklen_t data type configure:27928: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:27928: $? = 0 configure:27965: result: socklen_t configure:27972: checking size of curl_socklen_t configure:28018: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:122:21: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^ configure:28018: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | | typedef socklen_t curl_socklen_t; | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | curl_socklen_t dummy; | | ; | return 0; | } | configure:28018: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:122:21: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^ configure:28018: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | | typedef socklen_t curl_socklen_t; | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | curl_socklen_t dummy; | | ; | return 0; | } | configure:28018: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28018: $? = 0 configure:28028: result: 4 configure:28090: checking for sys/types.h configure:28090: result: yes configure:28090: checking for poll.h configure:28090: result: yes configure:28090: checking for sys/poll.h configure:28090: result: yes configure:28126: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 In file included from conftest.c:136:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/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:146:7: error: unknown type name 'force' force compilation error ^ conftest.c:146:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:28126: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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:28150: checking for in_addr_t configure:28150: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28150: $? = 0 configure:28150: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:158:24: error: expected expression before ')' token if (sizeof ((in_addr_t))) ^ configure:28150: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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:28150: result: yes configure:28266: checking for struct sockaddr_storage configure:28266: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28266: $? = 0 configure:28266: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:154:38: error: expected expression before ')' token if (sizeof ((struct sockaddr_storage))) ^ configure:28266: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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:28266: result: yes configure:28303: checking signal.h usability configure:28303: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28303: $? = 0 configure:28303: result: yes configure:28303: checking signal.h presence configure:28303: mips-openwrt-linux-musl-gcc -E -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c configure:28303: $? = 0 configure:28303: result: yes configure:28303: checking for signal.h configure:28303: result: yes configure:28313: checking for sig_atomic_t configure:28313: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28313: $? = 0 configure:28313: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:136:27: error: expected expression before ')' token if (sizeof ((sig_atomic_t))) ^ configure:28313: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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:28313: result: yes configure:28330: checking if sig_atomic_t is already defined as volatile configure:28350: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:28350: $? = 0 configure:28352: result: no configure:28375: checking return type of signal handlers configure:28392: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:134:9: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ^ configure:28392: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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:28399: result: void configure:28412: checking for sys/select.h configure:28412: result: yes configure:28412: checking for sys/socket.h configure:28412: result: yes configure:28423: checking for select configure:28475: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:28475: $? = 0 configure:28477: result: yes configure:28492: checking types of args and return type for select configure:28571: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28571: $? = 0 configure:28584: result: int,fd_set *,struct timeval *,int configure:28669: checking for sys/types.h configure:28669: result: yes configure:28669: checking for sys/socket.h configure:28669: result: yes configure:28680: checking for recv configure:28718: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:28718: $? = 0 configure:28720: result: yes configure:28735: checking types of args and return type for recv configure:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, size_t, int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, size_t, unsigned int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, int, int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, int, unsigned int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, socklen_t, int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, socklen_t, unsigned int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, unsigned int, int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:166:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:161: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:325:9: note: previous declaration of 'recv' was here ssize_t recv (int, void *, size_t, int); ^ configure:28792: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, unsigned int, unsigned int); | | 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:28792: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28792: $? = 0 configure:28806: result: int,void *,size_t,int,int configure:28857: checking for sys/types.h configure:28857: result: yes configure:28857: checking for sys/socket.h configure:28857: result: yes configure:28868: checking for send configure:28906: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:28906: $? = 0 configure:28908: result: yes configure:28923: checking types of args and return type for send configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:174:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/sys/socket.h:20:0, from conftest.c:169: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/socket.h:324:9: note: previous declaration of 'send' was here ssize_t send (int, const void *, size_t, int); ^ configure:28979: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:28979: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:28979: $? = 0 configure:28993: result: int,const void *,size_t,int,int configure:29081: checking for sys/types.h configure:29081: result: yes configure:29081: checking for sys/socket.h configure:29081: result: yes configure:29091: checking for MSG_NOSIGNAL configure:29133: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:29133: $? = 0 configure:29145: result: yes configure:29171: checking for sys/types.h configure:29171: result: yes configure:29171: checking for unistd.h configure:29171: result: yes configure:29190: checking if alarm can be linked configure:29219: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:29219: $? = 0 configure:29221: result: yes configure:29236: checking if alarm is prototyped configure:29247: result: yes configure:29263: checking if alarm is compilable configure:29282: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:29282: $? = 0 configure:29284: result: yes configure:29299: checking if alarm usage allowed configure:29302: result: yes configure:29312: checking if alarm might be used configure:29318: result: yes configure:29348: checking for sys/types.h configure:29348: result: yes configure:29348: checking for string.h configure:29348: result: yes configure:29348: checking for strings.h configure:29348: result: yes configure:29373: checking for sys/types.h configure:29373: result: yes configure:29373: checking for libgen.h configure:29373: result: yes configure:29392: checking if basename can be linked configure:29421: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:29421: $? = 0 configure:29423: result: yes configure:29438: checking if basename is prototyped configure:29451: result: yes configure:29467: checking if basename is compilable configure:29488: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:29488: $? = 0 configure:29490: result: yes configure:29505: checking if basename usage allowed configure:29508: result: yes configure:29518: checking if basename might be used configure:29524: result: yes configure:29551: checking for sys/types.h configure:29551: result: yes configure:29551: checking for socket.h configure:29551: result: no configure:29570: checking if closesocket can be linked configure:29590: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c: In function 'main': conftest.c:197:15: warning: implicit declaration of function 'closesocket' [-Wimplicit-function-declaration] if(0 != closesocket(0)) ^ /mnt/gold/openwrt/lede/tmp/ccahmF0X.o: In function `main': conftest.c:(.text.startup.main+0x18): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:29590: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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:29598: result: no configure:29685: checking if closesocket might be used configure:29700: result: no configure:29712: checking if CloseSocket can be linked configure:29731: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c: In function 'main': conftest.c:182:15: warning: implicit declaration of function 'CloseSocket' [-Wimplicit-function-declaration] if(0 != CloseSocket(0)) ^ /mnt/gold/openwrt/lede/tmp/ccgHpsc4.o: In function `main': conftest.c:(.text.startup.main+0x18): undefined reference to `CloseSocket' collect2: error: ld returned 1 exit status configure:29731: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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:29739: result: no configure:29824: checking if CloseSocket might be used configure:29839: result: no configure:29851: checking if connect can be linked configure:29872: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:29872: $? = 0 configure:29874: result: yes configure:29889: checking if connect is prototyped configure:29902: result: yes configure:29918: checking if connect is compilable configure:29939: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:29939: $? = 0 configure:29941: result: yes configure:29956: checking if connect usage allowed configure:29959: result: yes configure:29969: checking if connect might be used configure:29975: result: yes configure:30005: checking for sys/types.h configure:30005: result: yes configure:30005: checking for unistd.h configure:30005: result: yes configure:30005: checking for fcntl.h configure:30005: result: yes configure:30024: checking if fcntl can be linked configure:30053: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:30053: $? = 0 configure:30055: result: yes configure:30070: checking if fcntl is prototyped configure:30081: result: yes configure:30097: checking if fcntl is compilable configure:30116: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30116: $? = 0 configure:30118: result: yes configure:30133: checking if fcntl usage allowed configure:30136: result: yes configure:30146: checking if fcntl might be used configure:30152: result: yes configure:30172: checking if fcntl O_NONBLOCK is compilable configure:30192: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30192: $? = 0 configure:30194: result: yes configure:30209: checking if fcntl O_NONBLOCK usage allowed configure:30212: result: yes configure:30222: checking if fcntl O_NONBLOCK might be used configure:30226: result: yes configure:30259: checking for sys/types.h configure:30259: result: yes configure:30259: checking for stdio.h configure:30259: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30259: $? = 0 configure:30259: result: yes configure:30278: checking if fdopen can be linked configure:30307: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:30307: $? = 0 configure:30309: result: yes configure:30324: checking if fdopen is prototyped configure:30335: result: yes configure:30351: checking if fdopen is compilable configure:30370: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30370: $? = 0 configure:30372: result: yes configure:30387: checking if fdopen usage allowed configure:30390: result: yes configure:30400: checking if fdopen might be used configure:30406: result: yes configure:30433: checking for sys/types.h configure:30433: result: yes configure:30433: checking for netdb.h configure:30433: result: yes configure:30452: checking if freeaddrinfo can be linked configure:30472: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:30472: $? = 0 configure:30474: result: yes configure:30489: checking if freeaddrinfo is prototyped configure:30502: result: yes configure:30518: checking if freeaddrinfo is compilable configure:30538: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30538: $? = 0 configure:30540: result: yes configure:30555: checking if freeaddrinfo usage allowed configure:30558: result: yes configure:30568: checking if freeaddrinfo might be used configure:30574: result: yes configure:30607: checking for sys/types.h configure:30607: result: yes configure:30607: checking for sys/socket.h configure:30607: result: yes configure:30607: checking for netinet/in.h configure:30607: result: yes configure:30607: checking for ifaddrs.h configure:30607: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30607: $? = 0 configure:30607: result: yes configure:30626: checking if freeifaddrs can be linked configure:30655: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:30655: $? = 0 configure:30657: result: yes configure:30672: checking if freeifaddrs is prototyped configure:30683: result: yes configure:30699: checking if freeifaddrs is compilable configure:30717: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30717: $? = 0 configure:30719: result: yes configure:30734: checking if freeifaddrs usage allowed configure:30737: result: yes configure:30747: checking if freeifaddrs might be used configure:30753: result: yes configure:30780: checking for sys/types.h configure:30780: result: yes configure:30780: checking for sys/xattr.h configure:30780: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30780: $? = 0 configure:30780: result: yes configure:30800: checking if fsetxattr can be linked configure:30829: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:30829: $? = 0 configure:30831: result: yes configure:30846: checking if fsetxattr is prototyped configure:30857: result: yes configure:30874: checking if fsetxattr takes 5 args. configure:30893: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:30893: $? = 0 configure:30895: result: yes configure:30945: checking if fsetxattr is compilable configure:30948: result: yes configure:30957: checking if fsetxattr usage allowed configure:30960: result: yes configure:30970: checking if fsetxattr might be used configure:30976: result: yes configure:31008: checking if ftruncate can be linked configure:31037: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:31037: $? = 0 configure:31039: result: yes configure:31054: checking if ftruncate is prototyped configure:31065: result: yes configure:31081: checking if ftruncate is compilable configure:31100: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31100: $? = 0 configure:31102: result: yes configure:31117: checking if ftruncate usage allowed configure:31120: result: yes configure:31130: checking if ftruncate might be used configure:31136: result: yes configure:31163: checking for sys/types.h configure:31163: result: yes configure:31163: checking for stdlib.h configure:31163: result: yes configure:31184: checking if getaddrinfo can be linked configure:31205: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:31205: $? = 0 configure:31207: result: yes configure:31222: checking if getaddrinfo is prototyped configure:31235: result: yes configure:31251: checking if getaddrinfo is compilable configure:31272: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31272: $? = 0 configure:31274: result: yes configure:31357: checking if getaddrinfo usage allowed configure:31360: result: yes configure:31370: checking if getaddrinfo might be used configure:31377: result: yes configure:31393: checking if getaddrinfo is threadsafe configure:31458: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31458: $? = 0 configure:31500: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31500: $? = 0 configure:31531: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:204:11: error: unknown type name 'force' force compilation error ^ conftest.c:204:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:31531: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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:31549: result: yes configure:31570: checking if gai_strerror can be linked configure:31590: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:31590: $? = 0 configure:31592: result: yes configure:31607: checking if gai_strerror is prototyped configure:31619: result: yes configure:31635: checking if gai_strerror is compilable configure:31655: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31655: $? = 0 configure:31657: result: yes configure:31672: checking if gai_strerror usage allowed configure:31675: result: yes configure:31685: checking if gai_strerror might be used configure:31691: result: yes configure:31712: checking if gethostbyaddr can be linked configure:31732: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:31732: $? = 0 configure:31734: result: yes configure:31749: checking if gethostbyaddr is prototyped configure:31761: result: yes configure:31777: checking if gethostbyaddr is compilable configure:31797: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:31797: $? = 0 configure:31799: result: yes configure:31814: checking if gethostbyaddr usage allowed configure:31817: result: yes configure:31827: checking if gethostbyaddr might be used configure:31833: result: yes configure:31855: checking if gethostbyaddr_r can be linked configure:31884: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:31884: $? = 0 configure:31886: result: yes configure:31901: checking if gethostbyaddr_r is prototyped configure:31912: result: yes configure:31929: checking if gethostbyaddr_r takes 5 args. configure:31948: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:210:19: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:203:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:135:5: note: declared here int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *); ^ configure:31948: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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:31957: result: no configure:31965: checking if gethostbyaddr_r takes 7 args. configure:31984: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:210: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:203:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:135:5: note: declared here int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *); ^ configure:31984: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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:31993: result: no configure:32001: checking if gethostbyaddr_r takes 8 args. configure:32020: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32020: $? = 0 configure:32022: result: yes configure:32036: checking if gethostbyaddr_r is compilable configure:32039: result: yes configure:32048: checking if gethostbyaddr_r usage allowed configure:32051: result: yes configure:32061: checking if gethostbyaddr_r might be used configure:32067: result: yes configure:32103: checking if gethostbyname can be linked configure:32123: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:32123: $? = 0 configure:32125: result: yes configure:32140: checking if gethostbyname is prototyped configure:32152: result: yes configure:32168: checking if gethostbyname is compilable configure:32188: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32188: $? = 0 configure:32190: result: yes configure:32205: checking if gethostbyname usage allowed configure:32208: result: yes configure:32218: checking if gethostbyname might be used configure:32224: result: yes configure:32246: checking if gethostbyname_r can be linked configure:32275: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:32275: $? = 0 configure:32277: result: yes configure:32292: checking if gethostbyname_r is prototyped configure:32303: result: yes configure:32320: checking if gethostbyname_r takes 3 args. configure:32339: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:213:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0)) ^ In file included from conftest.c:206:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:132:5: note: declared here int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); ^ configure:32339: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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:32348: result: no configure:32356: checking if gethostbyname_r takes 5 args. configure:32375: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:213:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:206:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:132:5: note: declared here int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); ^ configure:32375: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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:32384: result: no configure:32392: checking if gethostbyname_r takes 6 args. configure:32411: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32411: $? = 0 configure:32413: result: yes configure:32427: checking if gethostbyname_r is compilable configure:32430: result: yes configure:32439: checking if gethostbyname_r usage allowed configure:32442: result: yes configure:32452: checking if gethostbyname_r might be used configure:32458: result: yes configure:32494: checking if gethostname can be linked configure:32514: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:32514: $? = 0 configure:32516: result: yes configure:32531: checking if gethostname is prototyped configure:32543: result: yes configure:32559: checking if gethostname is compilable configure:32579: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32579: $? = 0 configure:32581: result: yes configure:32596: checking for gethostname arg 2 data type configure:32622: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:233:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, int); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/unistd.h:20:0, from conftest.c:223: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/unistd.h:119:5: note: previous declaration of 'gethostname' was here int gethostname(char *, size_t); ^ configure:32622: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:32622: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32622: $? = 0 configure:32631: result: unsigned int configure:32643: checking if gethostname usage allowed configure:32646: result: yes configure:32656: checking if gethostname might be used configure:32662: result: yes configure:32684: checking if getifaddrs can be linked configure:32713: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:32713: $? = 0 configure:32715: result: yes configure:32730: checking if getifaddrs is prototyped configure:32741: result: yes configure:32757: checking if getifaddrs is compilable configure:32776: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:32776: $? = 0 configure:32778: result: yes configure:32847: checking if getifaddrs usage allowed configure:32850: result: yes configure:32860: checking if getifaddrs might be used configure:32867: result: yes configure:32889: checking if getservbyport_r can be linked configure:32918: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:32918: $? = 0 configure:32920: result: yes configure:32935: checking if getservbyport_r is prototyped configure:32946: result: yes configure:32963: checking if getservbyport_r takes 4 args. configure:32982: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:218:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0)) ^ In file included from conftest.c:211:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:136:5: note: declared here int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **); ^ configure:32982: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:32991: result: no configure:32999: checking if getservbyport_r takes 5 args. configure:33018: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:218:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:211:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:136:5: note: declared here int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **); ^ configure:33018: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:33027: result: no configure:33035: checking if getservbyport_r takes 6 args. configure:33054: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:33054: $? = 0 configure:33056: result: yes configure:33070: checking if getservbyport_r is compilable configure:33073: result: yes configure:33082: checking if getservbyport_r usage allowed configure:33085: result: yes configure:33095: checking if getservbyport_r might be used configure:33101: result: yes configure:33149: checking for sys/types.h configure:33149: result: yes configure:33149: checking for sys/time.h configure:33149: result: yes configure:33149: checking for time.h configure:33149: result: yes configure:33169: checking if gmtime_r can be linked configure:33198: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:33198: $? = 0 configure:33200: result: yes configure:33215: checking if gmtime_r is prototyped configure:33226: result: yes configure:33242: checking if gmtime_r is compilable configure:33261: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:33261: $? = 0 configure:33263: result: yes configure:33332: checking if gmtime_r usage allowed configure:33335: result: yes configure:33345: checking if gmtime_r might be used configure:33352: result: yes configure:33389: checking for sys/types.h configure:33389: result: yes configure:33389: checking for sys/socket.h configure:33389: result: yes configure:33389: checking for netinet/in.h configure:33389: result: yes configure:33389: checking for arpa/inet.h configure:33389: result: yes configure:33409: checking if inet_ntoa_r can be linked configure:33438: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccyvtuS2.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:33438: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:33446: result: no configure:33581: checking if inet_ntoa_r might be used configure:33607: result: no configure:33620: checking if inet_ntop can be linked configure:33649: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:33649: $? = 0 configure:33651: result: yes configure:33666: checking if inet_ntop is prototyped configure:33677: result: yes configure:33693: checking if inet_ntop is compilable configure:33712: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:33712: $? = 0 configure:33714: result: yes configure:33825: checking if inet_ntop usage allowed configure:33828: result: yes configure:33838: checking if inet_ntop might be used configure:33845: result: yes configure:33867: checking if inet_pton can be linked configure:33896: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:33896: $? = 0 configure:33898: result: yes configure:33913: checking if inet_pton is prototyped configure:33924: result: yes configure:33940: checking if inet_pton is compilable configure:33959: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:33959: $? = 0 configure:33961: result: yes configure:34065: checking if inet_pton usage allowed configure:34068: result: yes configure:34078: checking if inet_pton might be used configure:34085: result: yes configure:34121: checking for sys/types.h configure:34121: result: yes configure:34121: checking for unistd.h configure:34121: result: yes configure:34121: checking for sys/socket.h configure:34121: result: yes configure:34121: checking for sys/ioctl.h configure:34121: result: yes configure:34121: checking for stropts.h configure:34121: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:34121: $? = 0 configure:34121: result: yes configure:34140: checking if ioctl can be linked configure:34169: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:34169: $? = 0 configure:34171: result: yes configure:34186: checking if ioctl is prototyped configure:34197: result: yes configure:34213: checking if ioctl is compilable configure:34232: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:34232: $? = 0 configure:34234: result: yes configure:34249: checking if ioctl usage allowed configure:34252: result: yes configure:34262: checking if ioctl might be used configure:34268: result: yes configure:34282: checking if ioctl FIONBIO is compilable configure:34302: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:34302: $? = 0 configure:34304: result: yes configure:34319: checking if ioctl FIONBIO usage allowed configure:34322: result: yes configure:34332: checking if ioctl FIONBIO might be used configure:34336: result: yes configure:34356: checking if ioctl SIOCGIFADDR is compilable configure:34377: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:34377: $? = 0 configure:34379: result: yes configure:34394: checking if ioctl SIOCGIFADDR usage allowed configure:34397: result: yes configure:34407: checking if ioctl SIOCGIFADDR might be used configure:34411: result: yes configure:34438: checking if ioctlsocket can be linked configure:34457: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c: In function 'main': conftest.c:246:15: warning: implicit declaration of function 'ioctlsocket' [-Wimplicit-function-declaration] if(0 != ioctlsocket(0, 0, 0)) ^ /mnt/gold/openwrt/lede/tmp/ccYseP9P.o: In function `main': conftest.c:(.text.startup.main+0x18): undefined reference to `ioctlsocket' collect2: error: ld returned 1 exit status configure:34457: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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 */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:34465: result: no configure:34550: checking if ioctlsocket might be used configure:34639: result: no configure:34651: checking if IoctlSocket can be linked configure:34680: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccuG1ZPY.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:34680: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:34688: result: no configure:34773: checking if IoctlSocket might be used configure:34862: result: no configure:34875: checking if localtime_r can be linked configure:34904: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:34904: $? = 0 configure:34906: result: yes configure:34921: checking if localtime_r is prototyped configure:34932: result: yes configure:34948: checking if localtime_r is compilable configure:34967: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:34967: $? = 0 configure:34969: result: yes configure:35038: checking if localtime_r usage allowed configure:35041: result: yes configure:35051: checking if localtime_r might be used configure:35058: result: yes configure:35080: checking if memrchr can be linked configure:35109: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:35109: $? = 0 configure:35111: result: yes configure:35163: checking if memrchr is prototyped configure:35180: result: no configure:35240: checking if memrchr might be used configure:35255: result: no configure:35275: checking if poll can be linked configure:35294: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 In file included from conftest.c:236:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^ configure:35294: $? = 0 configure:35296: result: yes configure:35311: checking if poll is prototyped In file included from conftest.c:235:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^ configure:35322: result: yes configure:35338: checking if poll is compilable configure:35357: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 In file included from conftest.c:236:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^ configure:35357: $? = 0 configure:35359: result: yes configure:35440: checking if poll usage allowed configure:35443: result: yes configure:35453: checking if poll might be used configure:35460: result: yes configure:35486: checking if setsockopt can be linked configure:35506: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:35506: $? = 0 configure:35508: result: yes configure:35523: checking if setsockopt is prototyped configure:35535: result: yes configure:35551: checking if setsockopt is compilable configure:35571: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:35571: $? = 0 configure:35573: result: yes configure:35588: checking if setsockopt usage allowed configure:35591: result: yes configure:35601: checking if setsockopt might be used configure:35607: result: yes configure:35621: checking if setsockopt SO_NONBLOCK is compilable configure:35641: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:258:43: error: 'SO_NONBLOCK' undeclared (first use in this function) if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ^ conftest.c:258:43: note: each undeclared identifier is reported only once for each function it appears in configure:35641: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_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:35649: result: no configure:35671: checking if setsockopt SO_NONBLOCK might be used configure:35684: result: no configure:35708: checking for sys/types.h configure:35708: result: yes configure:35708: checking for signal.h configure:35708: result: yes configure:35727: checking if sigaction can be linked configure:35756: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:35756: $? = 0 configure:35758: result: yes configure:35773: checking if sigaction is prototyped configure:35784: result: yes configure:35800: checking if sigaction is compilable configure:35819: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:35819: $? = 0 configure:35821: result: yes configure:35836: checking if sigaction usage allowed configure:35839: result: yes configure:35849: checking if sigaction might be used configure:35855: result: yes configure:35876: checking if siginterrupt can be linked configure:35905: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:35905: $? = 0 configure:35907: result: yes configure:35922: checking if siginterrupt is prototyped configure:35933: result: yes configure:35949: checking if siginterrupt is compilable configure:35968: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:35968: $? = 0 configure:35970: result: yes configure:35985: checking if siginterrupt usage allowed configure:35988: result: yes configure:35998: checking if siginterrupt might be used configure:36004: result: yes configure:36025: checking if signal can be linked configure:36054: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:36054: $? = 0 configure:36056: result: yes configure:36071: checking if signal is prototyped configure:36082: result: yes configure:36098: checking if signal is compilable configure:36117: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:36117: $? = 0 configure:36119: result: yes configure:36134: checking if signal usage allowed configure:36137: result: yes configure:36147: checking if signal might be used configure:36153: result: yes configure:36180: checking for sys/types.h configure:36180: result: yes configure:36180: checking for setjmp.h configure:36180: result: yes configure:36200: checking if sigsetjmp can be linked configure:36229: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:36229: $? = 0 configure:36231: result: yes configure:36284: checking if sigsetjmp is prototyped configure:36295: result: yes configure:36312: checking if sigsetjmp is compilable configure:36332: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:36332: $? = 0 configure:36334: result: yes configure:36349: checking if sigsetjmp usage allowed configure:36352: result: yes configure:36362: checking if sigsetjmp might be used configure:36368: result: yes configure:36389: checking if socket can be linked configure:36410: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:36410: $? = 0 configure:36412: result: yes configure:36427: checking if socket is prototyped configure:36440: result: yes configure:36456: checking if socket is compilable configure:36477: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:36477: $? = 0 configure:36479: result: yes configure:36494: checking if socket usage allowed configure:36497: result: yes configure:36507: checking if socket might be used configure:36513: result: yes configure:36534: checking if socketpair can be linked configure:36563: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:36563: $? = 0 configure:36565: result: yes configure:36580: checking if socketpair is prototyped configure:36592: result: yes configure:36608: checking if socketpair is compilable configure:36629: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:36629: $? = 0 configure:36631: result: yes configure:36646: checking if socketpair usage allowed configure:36649: result: yes configure:36659: checking if socketpair might be used configure:36665: result: yes configure:36686: checking if strcasecmp can be linked configure:36715: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c:251:6: warning: conflicting types for built-in function 'strcasecmp' char strcasecmp (); ^ configure:36715: $? = 0 configure:36717: result: yes configure:36732: checking if strcasecmp is prototyped configure:36743: result: yes configure:36759: checking if strcasecmp is compilable configure:36778: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:36778: $? = 0 configure:36780: result: yes configure:36795: checking if strcasecmp usage allowed configure:36798: result: yes configure:36808: checking if strcasecmp might be used configure:36814: result: yes configure:36835: checking if strcmpi can be linked configure:36864: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccvVBAXK.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:36864: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:36872: result: no configure:36957: checking if strcmpi might be used configure:36972: result: no configure:36984: checking if strdup can be linked configure:37013: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c:252:6: warning: conflicting types for built-in function 'strdup' char strdup (); ^ configure:37013: $? = 0 configure:37015: result: yes configure:37030: checking if strdup is prototyped configure:37041: result: yes configure:37057: checking if strdup is compilable configure:37076: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:37076: $? = 0 configure:37078: result: yes configure:37093: checking if strdup usage allowed configure:37096: result: yes configure:37106: checking if strdup might be used configure:37112: result: yes configure:37139: checking if strerror_r can be linked configure:37168: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:37168: $? = 0 configure:37170: result: yes configure:37185: checking if strerror_r is prototyped configure:37196: result: yes configure:37212: checking if strerror_r is compilable configure:37231: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:37231: $? = 0 configure:37233: result: yes configure:37248: checking if strerror_r is glibc like configure:37271: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:254:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, size_t bufsize); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/string.h:20:0, from conftest.c:248: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^ configure:37271: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:37271: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:254:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, int bufsize); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/string.h:20:0, from conftest.c:248: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^ configure:37271: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:37271: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:254:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); ^ In file included from /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify/string.h:20:0, from conftest.c:248: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/string.h:64:5: note: previous declaration of 'strerror_r' was here int strerror_r (int, char *, size_t); ^ configure:37271: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:37281: result: no configure:37351: checking if strerror_r is POSIX like configure:37374: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:37374: $? = 0 configure:37389: result: yes configure:37469: checking if strerror_r usage allowed configure:37472: result: yes configure:37482: checking if strerror_r might be used configure:37488: result: yes configure:37545: checking if stricmp can be linked configure:37574: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccQrmLul.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:37574: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:37582: result: no configure:37667: checking if stricmp might be used configure:37682: result: no configure:37694: checking if strncasecmp can be linked configure:37723: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c:256:6: warning: conflicting types for built-in function 'strncasecmp' char strncasecmp (); ^ configure:37723: $? = 0 configure:37725: result: yes configure:37740: checking if strncasecmp is prototyped configure:37751: result: yes configure:37767: checking if strncasecmp is compilable configure:37786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:37786: $? = 0 configure:37788: result: yes configure:37803: checking if strncasecmp usage allowed configure:37806: result: yes configure:37816: checking if strncasecmp might be used configure:37822: result: yes configure:37843: checking if strncmpi can be linked configure:37872: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccTVIBwF.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:37872: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:37880: result: no configure:37965: checking if strncmpi might be used configure:37980: result: no configure:37992: checking if strnicmp can be linked configure:38021: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccCYkJwJ.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:38021: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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:38029: result: no configure:38114: checking if strnicmp might be used configure:38129: result: no configure:38141: checking if strstr can be linked configure:38170: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c:257:6: warning: conflicting types for built-in function 'strstr' char strstr (); ^ configure:38170: $? = 0 configure:38172: result: yes configure:38187: checking if strstr is prototyped configure:38198: result: yes configure:38214: checking if strstr is compilable configure:38233: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:38233: $? = 0 configure:38235: result: yes configure:38250: checking if strstr usage allowed configure:38253: result: yes configure:38263: checking if strstr might be used configure:38269: result: yes configure:38290: checking if strtok_r can be linked configure:38319: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38319: $? = 0 configure:38321: result: yes configure:38336: checking if strtok_r is prototyped configure:38347: result: yes configure:38363: checking if strtok_r is compilable configure:38382: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:38382: $? = 0 configure:38384: result: yes configure:38399: checking if strtok_r usage allowed configure:38402: result: yes configure:38412: checking if strtok_r might be used configure:38418: result: yes configure:38439: checking if strtoll can be linked configure:38468: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38468: $? = 0 configure:38470: result: yes configure:38485: checking if strtoll is prototyped configure:38496: result: yes configure:38512: checking if strtoll is compilable configure:38531: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:38531: $? = 0 configure:38533: result: yes configure:38548: checking if strtoll usage allowed configure:38551: result: yes configure:38561: checking if strtoll might be used configure:38567: result: yes configure:38594: checking for sys/types.h configure:38594: result: yes configure:38594: checking for sys/uio.h configure:38594: result: yes configure:38613: checking if writev can be linked configure:38642: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38642: $? = 0 configure:38644: result: yes configure:38659: checking if writev is prototyped configure:38670: result: yes configure:38686: checking if writev is compilable configure:38705: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:38705: $? = 0 configure:38707: result: yes configure:38722: checking if writev usage allowed configure:38725: result: yes configure:38735: checking if writev might be used configure:38741: result: yes configure:38786: checking for fork configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c:262:6: warning: conflicting types for built-in function 'fork' char fork (); ^ configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for geteuid configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for getpass_r configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccIeT2dw.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:38786: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 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:38786: result: no configure:38798: checking deeper for getpass_r configure:38815: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c: In function 'main': conftest.c:259:9: warning: implicit declaration of function 'getpass_r' [-Wimplicit-function-declaration] getpass_r (); ^ /mnt/gold/openwrt/lede/tmp/cctja2YE.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:38815: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | | | int main (void) | { | | getpass_r (); | | ; | return 0; | } | configure:38828: result: but still no configure:38786: checking for getppid configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for getprotobyname configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for getpwuid configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for getpwuid_r configure:38786: result: yes configure:38786: checking for getrlimit configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for gettimeofday configure:38786: result: yes configure:38786: checking for if_nametoindex configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for inet_addr configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for perror configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for pipe configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for setlocale configure:38786: result: yes configure:38786: checking for setmode configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 /mnt/gold/openwrt/lede/tmp/ccnOhfAq.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:38786: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 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:38786: result: no configure:38798: checking deeper for setmode configure:38815: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 conftest.c: In function 'main': conftest.c:270:9: warning: implicit declaration of function 'setmode' [-Wimplicit-function-declaration] setmode (); ^ /mnt/gold/openwrt/lede/tmp/ccUnTc5w.o: In function `main': conftest.c:(.text.startup.main+0x16): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:38815: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | | | int main (void) | { | | setmode (); | | ; | return 0; | } | configure:38828: result: but still no configure:38786: checking for setrlimit configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for uname configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38786: checking for utime configure:38786: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38786: $? = 0 configure:38786: result: yes configure:38844: checking for sys/types.h configure:38844: result: yes configure:38844: checking for sys/socket.h configure:38844: result: yes configure:38844: checking for netdb.h configure:38844: result: yes configure:38855: checking for getnameinfo configure:38884: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections conftest.c >&5 configure:38884: $? = 0 configure:38886: result: yes configure:38994: checking types of arguments for getnameinfo configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:301:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:297:0: /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/netdb.h:58:5: note: previous declaration of 'getnameinfo' was here int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int); ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c:302:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:303:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:310:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:311:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:39058: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:39058: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 configure:39058: $? = 0 configure:39071: result: const struct sockaddr *,socklen_t,size_t,int configure:39165: checking for stdio.h configure:39165: result: yes configure:39165: checking for sys/types.h configure:39165: result: yes configure:39165: checking for sys/socket.h configure:39165: result: yes configure:39165: checking for netdb.h configure:39165: result: yes configure:39165: checking for netinet/in.h configure:39165: result: yes configure:39165: checking for arpa/inet.h configure:39165: result: yes configure:39176: checking for working NI_WITHSCOPEID configure:39204: 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -Wno-system-headers -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM conftest.c >&5 conftest.c: In function 'main': conftest.c:292:65: error: 'NI_WITHSCOPEID' undeclared (first use in this function) unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; ^ conftest.c:292:65: note: each undeclared identifier is reported only once for each function it appears in configure:39204: $? = 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 HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_FTP 1 | #define CURL_DISABLE_FILE 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #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_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_STDIO_H 1 | #define HAVE_FDOPEN 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_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_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 size_t | #define GETNAMEINFO_TYPE_ARG7 int | #define GETNAMEINFO_QUAL_ARG1 const | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * | #define HAVE_GETNAMEINFO 1 | #define ENABLE_IPV6 1 | #define HAVE_STDIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #include | #include | #include | | int main (void) | { | | unsigned int dummy= NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; | | ; | return 0; | } | configure:39298: result: no configure:39314: checking how to set a socket into non-blocking mode configure:39327: result: fcntl O_NONBLOCK configure:39338: checking for perl configure:39357: found /mnt/gold/openwrt/lede/staging_dir/host/bin/perl configure:39369: result: /mnt/gold/openwrt/lede/staging_dir/host/bin/perl configure:39383: checking for gnroff configure:39417: result: no configure:39383: checking for nroff configure:39402: found /usr/bin/nroff configure:39414: result: /usr/bin/nroff configure:39429: checking how to use *nroff to get plain text from man pages configure:39447: result: -man configure:39594: checking whether to enable the threaded resolver configure:39610: result: no configure:39691: checking whether to enable verbose strings configure:39697: result: no configure:39715: checking whether to enable SSPI support (Windows native builds only) configure:39754: result: no configure:39761: checking whether to enable cryptographic authentication methods configure:39767: result: no configure:39810: checking whether to enable NTLM delegation to winbind's helper configure:39817: result: no configure:39832: checking whether to enable TLS-SRP authentication configure:39838: result: no configure:39866: checking whether to enable Unix domain sockets configure:39871: result: no configure:39913: checking whether to enable support for cookies configure:39919: result: no configure:39937: checking whether hiding of library internal symbols will actually happen configure:39951: result: yes configure:39969: checking whether to enforce SONAME bump configure:39984: result: no configure:40475: checking that generated files are newer than configure configure:40481: result: done configure:40572: 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 anneke config.status:1507: creating Makefile config.status:1507: creating docs/Makefile config.status:1507: creating docs/examples/Makefile config.status:1507: creating docs/libcurl/Makefile config.status:1507: creating docs/libcurl/opts/Makefile config.status:1507: creating docs/cmdline-opts/Makefile config.status:1507: creating include/Makefile config.status:1507: creating include/curl/Makefile config.status:1507: creating src/Makefile config.status:1507: creating lib/Makefile config.status:1507: creating scripts/Makefile config.status:1507: creating lib/libcurl.vers config.status:1507: creating tests/Makefile config.status:1507: creating tests/certs/Makefile config.status:1507: creating tests/certs/scripts/Makefile config.status:1507: creating tests/data/Makefile config.status:1507: creating tests/server/Makefile config.status:1507: creating tests/libtest/Makefile config.status:1507: creating tests/unit/Makefile config.status:1507: creating packages/Makefile config.status:1507: creating packages/Win32/Makefile config.status:1507: creating packages/Win32/cygwin/Makefile config.status:1507: creating packages/Linux/Makefile config.status:1507: creating packages/Linux/RPM/Makefile config.status:1507: creating packages/Linux/RPM/curl.spec config.status:1507: creating packages/Linux/RPM/curl-ssl.spec config.status:1507: creating packages/Solaris/Makefile config.status:1507: creating packages/EPM/curl.list config.status:1507: creating packages/EPM/Makefile config.status:1507: creating packages/vms/Makefile config.status:1507: creating packages/AIX/Makefile config.status:1507: creating packages/AIX/RPM/Makefile config.status:1507: creating packages/AIX/RPM/curl.spec config.status:1507: creating curl-config config.status:1507: creating libcurl.pc config.status:1507: creating lib/curl_config.h config.status:1507: creating include/curl/curlbuild.h config.status:1736: executing depfiles commands config.status:1736: executing libtool commands configure:43025: amending lib/Makefile configure:43025: amending src/Makefile configure:43025: amending tests/unit/Makefile configure:43025: amending tests/server/Makefile configure:43025: amending tests/libtest/Makefile configure:43025: amending docs/examples/Makefile configure:43138: Configured to build curl/libcurl: curl version: 7.52.1 Host setup: mips-openwrt-linux-gnu Install prefix: /usr Compiler: mips-openwrt-linux-musl-gcc SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} ) SSH support: no (--with-libssh2) zlib support: no (--with-zlib) GSS-API support: no (--with-gssapi) TLS-SRP support: no (--enable-tls-srp) resolver: default (--enable-ares / --enable-threaded-resolver) IPv6 support: enabled Unix sockets support: no (--enable-unix-sockets) IDN support: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=yes Built-in manual: no (--enable-manual) --libcurl option: no Verbose errors: no SSPI support: no (--enable-sspi) ca cert bundle: no ca cert path: no ca fallback: no LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS support: no (--enable-ldaps) RTSP support: no (--enable-rtsp) RTMP support: no (--with-librtmp) metalink support: no (--with-libmetalink) PSL support: no (libpsl not found) HTTP2 support: disabled (--with-nghttp2) Protocols: ## ---------------- ## ## 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/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/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -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_fork=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_getprotobyname=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_inet_addr=yes ac_cv_func_lstat=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes ac_cv_func_lstat_empty_string_bug=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_works=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_perror=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_uname=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_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_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_limits_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_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_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_stdio_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_axtls_ssl_version=no 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='/mnt/gold/openwrt/lede/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/mnt/gold/openwrt/lede/staging_dir/host/bin/grep -F' ac_cv_path_GREP=/mnt/gold/openwrt/lede/staging_dir/host/bin/grep ac_cv_path_LDCONFIG= ac_cv_path_NROFF=/usr/bin/nroff ac_cv_path_PERL=/mnt/gold/openwrt/lede/staging_dir/host/bin/perl ac_cv_path_SED=/mnt/gold/openwrt/lede/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_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_search_psl_builtin=no ac_cv_sizeof___int64=0 ac_cv_sizeof_char=1 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_sizeof_voidp=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_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_PRId64='"lld"' curl_cv_def___GNUC__=5 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_fdopen=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_getnameinfo=yes curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,size_t,int' curl_cv_func_getservbyport_r=yes curl_cv_func_gmtime_r=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_getnameinfo=yes curl_cv_have_def_PRId64=yes 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=yes 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_need_header_memory_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_working_ni_withscopeid=no 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} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/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' 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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections' AUTOCONF='${SHELL} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/missing autoconf' AUTOHEADER='${SHELL} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/missing autoheader' AUTOMAKE='${SHELL} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/missing automake-1.15' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections -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'\'' '\''--enable-ipv6'\'' '\''--without-cyassl'\'' '\''--without-gnutls'\'' '\''--without-ssl'\'' '\''--without-mbedtls'\'' '\''--without-libidn'\'' '\''--without-libssh2'\'' '\''--without-zlib'\'' '\''--disable-dict'\'' '\''--disable-file'\'' '\''--disable-ftp'\'' '\''--disable-gopher'\'' '\''--disable-http'\'' '\''--disable-imap'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--disable-pop3'\'' '\''--disable-rtsp'\'' '\''--disable-smb'\'' '\''--disable-smtp'\'' '\''--disable-telnet'\'' '\''--disable-tftp'\'' '\''--disable-cookies'\'' '\''--disable-crypto-auth'\'' '\''--disable-libcurl-option'\'' '\''--disable-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/mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1:curl-7.52.1 -fpic -ffunction-sections -fdata-sections '\'' '\''LDFLAGS=-L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections '\'' '\''CPPFLAGS=-I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -I/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM '\''"' CPP='mips-openwrt-linux-musl-gcc -E' CPPFLAGS='-isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/include -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include/fortify -isystem /mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/include -DCURL_DISABLE_NTLM' CPPFLAG_CURL_STATICLIB='' CROSSCOMPILING_FALSE='#' CROSSCOMPILING_TRUE='' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.52.1' CURL_CA_BUNDLE='' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='1' CURL_DISABLE_FILE='1' CURL_DISABLE_FTP='1' CURL_DISABLE_GOPHER='1' CURL_DISABLE_HTTP='1' CURL_DISABLE_IMAP='1' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_POP3='1' CURL_DISABLE_PROXY='1' 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='' CYGPATH_W='echo' 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='/mnt/gold/openwrt/lede/staging_dir/host/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='yes' EXEEXT='' FGREP='/mnt/gold/openwrt/lede/staging_dir/host/bin/grep -F' GREP='/mnt/gold/openwrt/lede/staging_dir/host/bin/grep' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='' HAVE_LIBZ='' HAVE_LIBZ_FALSE='' HAVE_LIBZ_TRUE='#' HAVE_OPENSSL_SRP='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LD='mips-openwrt-linux-musl-ld' LDFLAGS='-L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/mnt/gold/openwrt/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -Wl,--gc-sections' LIBCURL_LIBS='' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/missing makeinfo' MANIFEST_TOOL=':' MANOPT='-man' MKDIR_P='/bin/mkdir -p' NM='mips-openwrt-linux-musl-gcc-nm' NMEDIT='' NROFF='/usr/bin/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='/mnt/gold/openwrt/lede/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='/mnt/gold/openwrt/lede/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/bin/sh' SONAME_BUMP_FALSE='' SONAME_BUMP_TRUE='#' SSL_ENABLED='' SSL_LIBS='' STRIP='mips-openwrt-linux-musl-strip' SUPPORT_FEATURES='IPv6' SUPPORT_PROTOCOLS='' USE_ARES='' USE_AXTLS='' USE_CPPFLAG_CURL_STATICLIB_FALSE='' USE_CPPFLAG_CURL_STATICLIB_TRUE='#' USE_CYASSL='' USE_DARWINSSL='' 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_MANUAL_FALSE='' USE_MANUAL_TRUE='#' USE_MBEDTLS='' USE_NGHTTP2='' USE_NSS='' USE_OPENLDAP='' USE_POLARSSL='' USE_SCHANNEL='' USE_UNIX_SOCKETS='' USE_WINDOWS_SSPI='' VERSION='-' VERSIONNUM='073401' 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} /mnt/gold/openwrt/lede/build_dir/target-mips_24kc_musl-1.1.16/curl-7.52.1/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 HAVE_SYS_TYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_LONG 4 #define SIZEOF_VOIDP 4 #define CURL_PULL_SYS_TYPES_H 1 #define CURL_PULL_STDINT_H 1 #define CURL_PULL_INTTYPES_H 1 #define CURL_TYPEOF_CURL_OFF_T int64_t #define CURL_FORMAT_CURL_OFF_T "lld" #define CURL_FORMAT_CURL_OFF_TU "llu" #define CURL_FORMAT_OFF_T "%lld" #define CURL_SIZEOF_CURL_OFF_T 8 #define CURL_SUFFIX_CURL_OFF_T LL #define CURL_SUFFIX_CURL_OFF_TU ULL #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define CURL_DISABLE_HTTP 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_FTP 1 #define CURL_DISABLE_FILE 1 #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_PROXY 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 STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_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_LIMITS_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_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 CURL_SIZEOF_LONG 4 #define SIZEOF_TIME_T 4 #define SIZEOF_OFF_T 8 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define CURL_PULL_SYS_TYPES_H 1 #define CURL_PULL_SYS_SOCKET_H 1 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t #define CURL_SIZEOF_CURL_SOCKLEN_T 4 #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_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_STDIO_H 1 #define HAVE_FDOPEN 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_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_FORK 1 #define HAVE_GETEUID 1 #define HAVE_GETPPID 1 #define HAVE_GETPROTOBYNAME 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_INET_ADDR 1 #define HAVE_PERROR 1 #define HAVE_PIPE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_UNAME 1 #define HAVE_UTIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define GETNAMEINFO_TYPE_ARG2 socklen_t #define GETNAMEINFO_TYPE_ARG46 size_t #define GETNAMEINFO_TYPE_ARG7 int #define GETNAMEINFO_QUAL_ARG1 const #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * #define HAVE_GETNAMEINFO 1 #define ENABLE_IPV6 1 #define HAVE_STDIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define CURL_DISABLE_VERBOSE_STRINGS 1 #define CURL_DISABLE_CRYPTO_AUTH 1 #define CURL_DISABLE_TLS_SRP 1 #define CURL_DISABLE_COOKIES 1 #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) configure: exit 0