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=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-manual --disable-ntlm-wb --enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug --disable-libcurl-option --enable-threaded-resolver --disable-verbose --with-ssl=/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr --with-ca-path=/etc/ssl/certs --without-bearssl --without-gnutls --without-nss --without-mbedtls --without-wolfssl --disable-ares --without-libidn2 --with-libssh2 --without-brotli --without-nghttp2 --disable-cookies --disable-proxy --disable-dict --disable-gopher --disable-imap --disable-ldap --disable-ldaps --disable-pop3 --disable-rtsp --disable-smb --disable-smtp --disable-telnet --disable-tftp ## --------- ## ## Platform. ## ## --------- ## hostname = iof481.pnap.ioflood.com uname -m = x86_64 uname -r = 5.8.12-arch1-1 uname -s = Linux uname -v = #1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /data/buildroot-test/instance-1/output-1/host/bin PATH: /data/buildroot-test/instance-1/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl ## ----------- ## ## Core tests. ## ## ----------- ## configure:3074: checking whether to enable maintainer-specific portions of Makefiles configure:3083: result: no configure:3107: checking whether make supports nested variables configure:3124: result: yes configure:3137: checking whether to enable debug build options configure:3159: result: no configure:3163: checking whether to enable compiler optimizer configure:3184: result: (assumed) yes configure:3196: checking whether to enable strict compiler warnings configure:3215: result: no configure:3219: checking whether to enable compiler warnings as errors configure:3238: result: no configure:3242: checking whether to enable curl debug memory tracking configure:3253: result: no configure:3281: checking whether to enable hiding of library internal symbols configure:3307: result: yes configure:3313: checking whether to enable c-ares for DNS lookups configure:3335: result: no configure:3339: checking whether to disable dependency on -lrt configure:3355: result: (assumed no) configure:3366: checking whether to enable ECH support configure:3384: result: no configure:3415: checking for path separator configure:3417: result: : configure:3437: checking for sed configure:3456: found /usr/bin/sed configure:3469: result: /usr/bin/sed configure:3486: checking for grep configure:3505: found /usr/bin/grep configure:3518: result: /usr/bin/grep configure:3534: checking for egrep configure:3537: result: /usr/bin/grep -E configure:3832: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os configure:3838: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:3838: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:3838: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:3869: WARNING: Continuing even with errors mentioned immediately above this line. configure:3916: checking for a BSD-compatible install configure:3984: result: /usr/bin/install -c configure:4006: checking for riscv64-buildroot-linux-gnu-gcc configure:4033: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc configure:4302: checking for C compiler version configure:4311: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.02) 8.3.0 Copyright (C) 2018 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:4322: $? = 0 configure:4311: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/8.3.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/br-riscv64-glibc-2020.02 --sysconfdir=/opt/br-riscv64-glibc-2020.02/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/opt/br-riscv64-glibc-2020.02/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv64-glibc-2020.02 --with-mpc=/opt/br-riscv64-glibc-2020.02 --with-mpfr=/opt/br-riscv64-glibc-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/opt/br-riscv64-glibc-2020.02/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.3.0 (Buildroot 2020.02) configure:4322: $? = 0 configure:4311: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command line option '-V' riscv64-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4322: $? = 1 configure:4311: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv64-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4322: $? = 1 configure:4341: checking whether the C compiler works configure:4363: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4367: $? = 0 configure:4415: result: yes configure:4418: checking for C compiler default output file name configure:4420: result: a.out configure:4426: checking for suffix of executables configure:4433: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4437: $? = 0 configure:4459: result: configure:4480: checking whether we are cross compiling configure:4518: result: yes configure:4523: checking for suffix of object files configure:4544: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4548: $? = 0 configure:4569: result: o configure:4573: checking whether we are using the GNU C compiler configure:4591: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4591: $? = 0 configure:4600: result: yes configure:4609: checking whether /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc accepts -g configure:4628: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4628: $? = 0 configure:4667: result: yes configure:4684: checking for /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:4746: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4746: $? = 0 configure:4759: result: none needed configure:4784: checking whether /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:4805: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4808: $? = 0 configure:4805: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4808: $? = 0 configure:4820: result: yes configure:4843: checking how to run the C preprocessor configure:4913: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp configure:4933: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4933: $? = 0 configure:4947: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4947: $? = 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:4987: checking for a sed that does not truncate output configure:5051: result: /usr/bin/sed configure:5059: checking for code coverage support configure:5073: result: no configure:5223: checking whether build environment is sane configure:5278: result: yes configure:5332: checking for riscv64-buildroot-linux-gnu-strip configure:5359: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-strip configure:5424: checking for a thread-safe mkdir -p configure:5463: result: /usr/bin/mkdir -p configure:5470: checking for gawk configure:5486: found /usr/bin/gawk configure:5497: result: gawk configure:5508: checking whether make sets $(MAKE) configure:5530: result: yes configure:5552: checking whether make supports the include directive configure:5567: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0' make[1]: Leaving directory '/data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0' this is the am__doit target configure:5570: $? = 0 configure:5589: result: yes (GNU style) configure:5689: checking dependency style of /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc configure:5800: result: none configure:5863: checking curl version configure:5865: result: 7.73.0 configure:5912: checking build system type configure:5926: result: x86_64-pc-linux-gnu configure:5946: checking host system type configure:5959: result: riscv64-buildroot-linux-gnu configure:5991: checking for grep that handles long lines and -e configure:6049: result: /usr/bin/grep configure:6054: checking for egrep configure:6116: result: /usr/bin/grep -E configure:6123: checking if OS is AIX (to define _ALL_SOURCE) configure:6143: result: no configure:6153: checking if _THREAD_SAFE is already defined configure:6174: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:6174: $? = 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 "riscv64-buildroot-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _THREAD_SAFE | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6182: result: no configure:6190: checking if _THREAD_SAFE is actually needed configure:6209: result: no configure:6214: checking if _THREAD_SAFE is onwards defined configure:6231: result: no configure:6238: checking if _REENTRANT is already defined configure:6259: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:6259: $? = 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 "riscv64-buildroot-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _REENTRANT | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:6267: result: no configure:6275: checking if _REENTRANT is actually needed configure:6306: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6306: $? = 0 configure:6337: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6337: $? = 0 configure:6408: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6408: $? = 0 configure:6487: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6487: $? = 0 configure:6566: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6566: $? = 0 configure:6645: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6645: $? = 0 configure:6724: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccUklkXX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:6724: $? = 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 "riscv64-buildroot-linux-gnu" | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:6807: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6807: $? = 0 configure:6886: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6886: $? = 0 configure:6965: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6965: $? = 0 configure:7044: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7044: $? = 0 configure:7100: result: no configure:7105: checking if _REENTRANT is onwards defined configure:7122: result: no configure:7135: checking for special C compiler options needed for large files configure:7179: result: no configure:7185: checking for _FILE_OFFSET_BITS value needed for large files configure:7209: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7209: $? = 0 configure:7240: result: no configure:7370: checking how to print strings configure:7397: result: printf configure:7418: checking for a sed that does not truncate output configure:7482: result: /usr/bin/sed configure:7500: checking for fgrep configure:7562: result: /usr/bin/grep -F configure:7597: checking for ld used by /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc configure:7664: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld configure:7671: checking if the linker (/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld) is GNU ld configure:7686: result: yes configure:7698: checking for BSD- or MS-compatible name lister (nm) configure:7752: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-nm configure:7882: checking the name lister (/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-nm) interface configure:7889: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7892: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-nm "conftest.o" configure:7895: output 0000000000000000 S some_variable configure:7896: result: BSD nm configure:7899: checking whether ln -s works configure:7903: result: yes configure:7911: checking the maximum length of command line arguments configure:8042: result: 1572864 configure:8090: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-gnu format configure:8130: result: func_convert_file_noop configure:8137: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8157: result: func_convert_file_noop configure:8164: checking for /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld option to reload object files configure:8171: result: -r configure:8205: checking for riscv64-buildroot-linux-gnu-objdump configure:8232: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-objdump configure:8301: checking how to recognize dependent libraries configure:8501: result: pass_all configure:8546: checking for riscv64-buildroot-linux-gnu-dlltool configure:8576: result: no configure:8586: checking for dlltool configure:8616: result: no configure:8643: checking how to associate runtime and link libraries configure:8670: result: printf %s\n configure:8686: checking for riscv64-buildroot-linux-gnu-ar configure:8713: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar configure:8794: checking for archiver @FILE support configure:8810: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8810: $? = 0 configure:8813: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar cr libconftest.a @conftest.lst >&5 configure:8816: $? = 0 configure:8821: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar cr libconftest.a @conftest.lst >&5 /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar: conftest.o: No such file or directory configure:8824: $? = 1 configure:8823: result: @ configure:8841: checking for riscv64-buildroot-linux-gnu-strip configure:8868: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-strip configure:8940: checking for riscv64-buildroot-linux-gnu-ranlib configure:8967: result: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ranlib configure:9109: checking command to parse /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-nm output from /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc object configure:9262: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9265: $? = 0 configure:9269: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-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:9335: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:9338: $? = 0 configure:9376: result: ok configure:9423: checking for sysroot configure:9453: result: no configure:9460: checking for a working dd configure:9498: result: /usr/bin/dd configure:9502: checking how to truncate binary pipes configure:9517: result: /usr/bin/dd bs=4096 count=1 configure:9805: checking for riscv64-buildroot-linux-gnu-mt configure:9835: result: no configure:9845: checking for mt configure:9875: result: no configure:9895: checking if : is a manifest tool configure:9901: : '-?' configure:9909: result: no configure:10580: checking for ANSI C header files configure:10599: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10599: $? = 0 configure:10683: result: yes configure:10696: checking for sys/types.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for sys/stat.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for stdlib.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for string.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for memory.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for strings.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for inttypes.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for stdint.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10696: checking for unistd.h configure:10696: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10696: $? = 0 configure:10696: result: yes configure:10710: checking for dlfcn.h configure:10710: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10710: $? = 0 configure:10710: result: yes configure:11371: checking for objdir configure:11386: result: .libs configure:11650: checking if /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions configure:11668: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:11672: $? = 0 configure:11685: result: no configure:12049: checking for /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc option to produce PIC configure:12056: result: -fPIC -DPIC configure:12064: checking if /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works configure:12082: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:12086: $? = 0 configure:12099: result: yes configure:12128: checking if /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc static flag -static works configure:12156: result: yes configure:12171: checking if /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:12192: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:12196: $? = 0 configure:12218: result: yes configure:12226: checking if /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:12273: result: yes configure:12306: checking whether the /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc linker (/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld) supports shared libraries configure:13567: result: yes configure:13604: checking whether -lc should be explicitly linked in configure:13612: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13615: $? = 0 configure:13630: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:13633: $? = 0 configure:13647: result: no configure:13807: checking dynamic linker characteristics configure:14387: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14387: $? = 0 configure:14636: result: GNU/Linux ld.so configure:14758: checking how to hardcode library paths into programs configure:14783: result: immediate configure:15316: checking whether stripping libraries is possible configure:15321: result: yes configure:15356: checking if libtool supports shared libraries configure:15358: result: yes configure:15361: checking whether to build shared libraries configure:15386: result: yes configure:15389: checking whether to build static libraries configure:15393: result: no configure:12258: checking whether to build shared libraries with -version-info configure:12269: result: yes configure:12276: checking whether to build shared libraries with -no-undefined configure:12289: result: no configure:12296: checking whether to build shared libraries with -mimpure-text configure:12306: result: no configure:12333: checking whether to build shared libraries with PIC configure:12335: result: yes configure:12337: checking whether to build static libraries with PIC configure:12339: result: no configure:12346: checking whether to build shared libraries only configure:12354: result: yes configure:12361: checking whether to build static libraries only configure:12369: result: no configure:12459: checking for inline configure:12475: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12475: $? = 0 configure:12483: result: inline configure:12504: checking if cpp -P is needed configure:12521: result: yes configure:12525: checking if cpp -P works configure:12544: result: yes configure:12577: checking if compiler is DEC/Compaq/HP C configure:12601: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12601: $? = 0 configure:12645: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12645: $? = 0 configure:12679: result: no configure:12684: checking if compiler is HP-UX C configure:12708: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12708: $? = 0 configure:12741: result: no configure:12746: checking if compiler is IBM C configure:12770: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12770: $? = 0 configure:12811: result: no configure:12816: checking if compiler is Intel C configure:12840: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12840: $? = 0 configure:12935: result: no configure:12940: checking if compiler is clang configure:12964: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12964: $? = 0 configure:13070: result: no configure:13075: checking if compiler is GNU C configure:13099: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13099: $? = 0 configure:13123: result: yes configure:13165: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13165: $? = 0 configure:13193: checking if compiler is LCC configure:13217: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13217: $? = 0 configure:13250: result: no configure:13255: checking if compiler is SGI MIPSpro C configure:13279: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13279: $? = 0 configure:13323: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13323: $? = 0 configure:13367: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13367: $? = 0 configure:13402: result: no configure:13407: checking if compiler is SGI MIPS C configure:13431: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13431: $? = 0 configure:13475: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13475: $? = 0 configure:13510: result: no configure:13515: checking if compiler is SunPro C configure:13539: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13539: $? = 0 configure:13572: result: no configure:13577: checking if compiler is Tiny C configure:13601: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13601: $? = 0 configure:13634: result: no configure:13639: checking if compiler is Watcom C configure:13663: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13663: $? = 0 configure:13750: result: no configure:13883: checking if compiler accepts some basic options configure:13907: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13907: $? = 0 configure:13937: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13937: $? = 0 configure:14002: result: yes configure:14004: compiler options added: -Werror-implicit-function-declaration configure:14071: checking if compiler accepts debug disabling options configure:14103: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14103: $? = 0 configure:14133: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14133: $? = 0 configure:14198: result: yes configure:14200: compiler options added: configure:14232: checking if compiler optimizer assumed setting might be used configure:14270: result: no configure:15742: checking if compiler accepts strict warning options configure:15766: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15766: $? = 0 configure:15796: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15796: $? = 0 configure:15861: result: yes configure:15863: compiler options added: -Wno-system-headers configure:15904: checking if compiler halts on compilation errors configure:15921: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:30:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:30:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:15921: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:15929: result: yes configure:15936: checking if compiler halts on negative sized arrays configure:15954: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:26:20: error: size of array 'bad_t' is negative typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; ^~~~~ configure:15954: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; | | int main (void) | { | | bad_t dummy; | | ; | return 0; | } | configure:15962: result: yes configure:15969: checking if compiler halts on function prototype mismatch configure:15998: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:27:11: error: conflicting types for 'rand' int rand(int n); ^~~~ In file included from conftest.c:26: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here extern int rand (void) __THROW; ^~~~ conftest.c:28:11: error: conflicting types for 'rand' int rand(int n) ^~~~ In file included from conftest.c:26: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here extern int rand (void) __THROW; ^~~~ configure:15998: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | # include | int rand(int n); | int rand(int n) | { | if(n) | return ++n; | else | return n; | } | | int main (void) | { | | int i[2]={0,0}; | int j = rand(i[0]); | if(j) | return j; | | ; | return 0; | } | configure:16006: result: yes configure:16013: checking if compiler supports hiding library internal symbols configure:16107: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -fvisibility=hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16107: $? = 0 configure:16130: result: yes configure:16234: checking for windows.h configure:16264: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:30:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:16264: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int main (void) | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:16276: result: no configure:16289: checking whether build target is a native Windows one configure:16331: result: no configure:16643: checking whether build target supports WIN32 file API configure:16724: result: no configure:16739: checking for good-to-use Mac CFLAGS configure:16741: result: no configure:16787: checking to see if the compiler supports __builtin_available() configure:16805: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:31:11: error: implicit declaration of function '__builtin_available'; did you mean '__builtin_scalbl'? [-Werror=implicit-function-declaration] if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~~~~~~~~~~~~~~~~ __builtin_scalbl conftest.c:31:31: error: 'macOS' undeclared (first use in this function) if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~~ conftest.c:31:31: note: each undeclared identifier is reported only once for each function it appears in conftest.c:31:36: error: expected ')' before numeric constant if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} ^~~~~ ) cc1: some warnings being treated as errors configure:16805: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #include | | int main (void) | { | | if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} | | ; | return 0; | } | configure:16817: result: no configure:16825: checking whether to support http configure:16852: result: yes configure:16857: checking whether to support ftp configure:16876: result: yes configure:16881: checking whether to support file configure:16900: result: yes configure:16905: checking whether to support ldap configure:16911: result: no configure:16931: checking whether to support ldaps configure:16937: result: no configure:16987: checking whether to support rtsp configure:16993: result: no configure:17023: checking whether to support proxies configure:17029: result: no configure:17049: checking whether to support dict configure:17055: result: no configure:17073: checking whether to support telnet configure:17079: result: no configure:17097: checking whether to support tftp configure:17103: result: no configure:17122: checking whether to support pop3 configure:17128: result: no configure:17148: checking whether to support imap configure:17154: result: no configure:17174: checking whether to support smb configure:17180: result: no configure:17199: checking whether to support smtp configure:17205: result: no configure:17224: checking whether to support gopher configure:17230: result: no configure:17249: checking whether to support mqtt configure:17268: result: no configure:17275: checking whether to provide built-in manual configure:17281: result: no configure:17297: checking whether to enable generation of C code configure:17303: result: no configure:17322: checking whether to use libgcc configure:17337: result: no configure:17344: checking if X/Open network library is required configure:17364: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:46:3: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:46:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ conftest.c:48:1: error: expected declaration or statement at end of input } ^ configure:17364: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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:17371: result: no configure:17375: checking for gethostbyname configure:17375: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17375: $? = 0 configure:17375: result: yes configure:17844: checking for windows.h configure:17886: result: no configure:17899: checking for winsock.h configure:17942: result: no configure:17955: checking for winsock2.h configure:17998: result: no configure:18021: checking for proto/bsdsocket.h configure:18021: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:44:10: fatal error: proto/bsdsocket.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:18021: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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. */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | | #include configure:18021: result: no configure:18034: checking for connect in libraries configure:18062: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18062: $? = 0 configure:18080: result: yes configure:18093: checking whether time.h and sys/time.h may both be included configure:18112: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18112: $? = 0 configure:18119: result: yes configure:18131: checking for sys/types.h configure:18131: result: yes configure:18131: checking sys/time.h usability configure:18131: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking sys/time.h presence configure:18131: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for sys/time.h configure:18131: result: yes configure:18131: checking time.h usability configure:18131: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking time.h presence configure:18131: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for time.h configure:18131: result: yes configure:18141: checking for monotonic clock_gettime configure:18174: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18174: $? = 0 configure:18176: result: yes configure:18194: checking for clock_gettime in libraries configure:18236: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18236: $? = 0 configure:18257: result: no additional lib required configure:18488: checking for zlib options with pkg-config configure:18502: result: found configure:18567: checking zlib.h usability configure:18567: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18567: $? = 0 configure:18567: result: yes configure:18567: checking zlib.h presence configure:18567: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:18567: $? = 0 configure:18567: result: yes configure:18567: checking for zlib.h configure:18567: result: yes configure:18655: found both libz and libz.h header configure:19097: checking for ZSTD_createDStream in -lzstd configure:19119: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lzstd -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lzstd collect2: error: ld returned 1 exit status configure:19119: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char ZSTD_createDStream (); | int main (void) | { | return ZSTD_createDStream (); | ; | return 0; | } configure:19128: result: no configure:19142: checking zstd.h usability configure:19142: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:77:10: fatal error: zstd.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:19142: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:19142: result: no configure:19142: checking zstd.h presence configure:19142: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:44:10: fatal error: zstd.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:19142: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | #include configure:19142: result: no configure:19142: checking for zstd.h configure:19142: result: no configure:19811: checking whether to enable IPv6 configure:19821: result: yes configure:19883: checking if struct sockaddr_in6 has sin6_scope_id member configure:19905: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19905: $? = 0 configure:19910: result: yes configure:19922: checking if argv can be written to configure:19969: result: no configure:19971: WARNING: the previous check could not be made default was used configure:20015: checking if GSS-API support is requested configure:20146: result: no configure:20258: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:20283: result: no configure:20307: checking whether to enable Secure Transport configure:20324: result: no configure:20341: checking whether to enable Amiga native SSL/TLS (AmiSSL) configure:20369: result: no configure:20442: PKG_CONFIG_LIBDIR will be set to "/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig" configure:20567: checking for openssl options with pkg-config configure:20581: result: found configure:20610: pkg-config: SSL_LIBS: "-lssl -lcrypto " configure:20612: pkg-config: SSL_LDFLAGS: "-L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib " configure:20614: pkg-config: SSL_CPPFLAGS: "" configure:20626: checking for HMAC_Update in -lcrypto configure:20648: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lz >&5 configure:20648: $? = 0 configure:20657: result: yes configure:20791: checking for SSL_connect in -lssl configure:20813: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:20813: $? = 0 configure:20822: result: yes configure:20896: checking openssl/x509.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/x509.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/x509.h configure:20896: result: yes configure:20896: checking openssl/rsa.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/rsa.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/rsa.h configure:20896: result: yes configure:20896: checking openssl/crypto.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/crypto.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/crypto.h configure:20896: result: yes configure:20896: checking openssl/pem.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/pem.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/pem.h configure:20896: result: yes configure:20896: checking openssl/ssl.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/ssl.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/ssl.h configure:20896: result: yes configure:20896: checking openssl/err.h usability configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking openssl/err.h presence configure:20896: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20896: $? = 0 configure:20896: result: yes configure:20896: checking for openssl/err.h configure:20896: result: yes configure:20953: checking for RAND_egd configure:20953: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccc76zZR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `RAND_egd' collect2: error: ld returned 1 exit status configure:20953: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | /* end confdefs.h. */ | | #define RAND_egd innocuous_RAND_egd | #ifdef __STDC__ | # include | #else | # include | #endif | #undef RAND_egd | #ifdef __cplusplus | extern "C" | #endif | char RAND_egd (); | #if defined __stub_RAND_egd || defined __stub___RAND_egd | choke me | #endif | | int main (void) | { | return RAND_egd (); | ; | return 0; | } configure:20953: result: no configure:20953: checking for SSLv2_client_method configure:20953: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2tgSng.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `SSLv2_client_method' collect2: error: ld returned 1 exit status configure:20953: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | /* end confdefs.h. */ | | #define SSLv2_client_method innocuous_SSLv2_client_method | #ifdef __STDC__ | # include | #else | # include | #endif | #undef SSLv2_client_method | #ifdef __cplusplus | extern "C" | #endif | char SSLv2_client_method (); | #if defined __stub_SSLv2_client_method || defined __stub___SSLv2_client_method | choke me | #endif | | int main (void) | { | return SSLv2_client_method (); | ; | return 0; | } configure:20953: result: no configure:20953: checking for OpenSSL_version configure:20953: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:20953: $? = 0 configure:20953: result: yes configure:20963: checking for BoringSSL configure:20983: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:26: fatal error: openssl/base.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:20983: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | #ifndef OPENSSL_IS_BORINGSSL | #error not boringssl | #endif | | ; | return 0; | } | configure:20996: result: no configure:21002: checking for libressl configure:21020: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:67:21: error: 'LIBRESSL_VERSION_NUMBER' undeclared (first use in this function); did you mean 'OPENSSL_VERSION_NUMBER'? int dummy = LIBRESSL_VERSION_NUMBER; ^~~~~~~~~~~~~~~~~~~~~~~ OPENSSL_VERSION_NUMBER conftest.c:67:21: note: each undeclared identifier is reported only once for each function it appears in configure:21020: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | int dummy = LIBRESSL_VERSION_NUMBER; | | ; | return 0; | } | configure:21033: result: no configure:21039: checking for OpenSSL >= v3 configure:21061: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:70:10: error: #error older than 3 #error older than 3 ^~~~~ configure:21061: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) | return 0; | #else | #error older than 3 | #endif | | ; | return 0; | } | configure:21075: result: no configure:21097: checking for OpenSSL headers version configure:21127: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:21127: $? = 0 configure:21189: result: 1.1.1 - 0x1010108fL configure:21198: checking for OpenSSL library version configure:21228: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:21228: $? = 0 configure:21725: result: 1.1.1 configure:21733: checking for OpenSSL headers and library versions matching configure:21743: result: yes configure:21830: checking for SRP_Calc_client_key in -lcrypto configure:21852: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:21852: $? = 0 configure:21861: result: yes configure:23682: built with one SSL backend configure:23724: checking default CA cert bundle/path configure:23846: result: /etc/ssl/certs (capath) configure:23854: checking whether to use builtin CA store of SSL library configure:23868: result: no configure:23893: checking for library containing psl_builtin configure:23921: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cca0NQ6p.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `psl_builtin' collect2: error: ld returned 1 exit status configure:23921: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:23921: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lpsl -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lpsl collect2: error: ld returned 1 exit status configure:23921: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:23938: result: no configure:23950: WARNING: libpsl was not found configure:24492: checking for libssh2 options with pkg-config configure:24506: result: found configure:24539: checking for libssh2_channel_open_ex in -lssh2 configure:24561: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:24561: $? = 0 configure:24570: result: yes configure:24584: checking libssh2.h usability configure:24584: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:24584: $? = 0 configure:24584: result: yes configure:24584: checking libssh2.h presence configure:24584: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:24584: $? = 0 configure:24584: result: yes configure:24584: checking for libssh2.h configure:24584: result: yes configure:25116: checking for RTMP_Init in -lrtmp configure:25138: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lrtmp -lrtmp -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lrtmp /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lrtmp collect2: error: ld returned 1 exit status configure:25138: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char RTMP_Init (); | int main (void) | { | return RTMP_Init (); | ; | return 0; | } configure:25147: result: no configure:25188: checking whether versioned symbols are wanted configure:25234: result: no configure:25253: checking whether to enable Windows native IDN (Windows native builds only) configure:25265: result: no configure:25353: checking whether to build with libidn2 configure:25365: result: no configure:26204: checking for libngtcp2 options with pkg-config configure:26215: result: no configure:27233: checking for quiche options with pkg-config configure:27244: result: no configure:27516: checking for fish options with pkg-config configure:27527: result: no configure:27549: checking for ANSI C header files configure:27652: result: yes configure:27662: checking for malloc.h configure:27687: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27687: $? = 0 configure:27699: result: yes configure:27727: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27727: $? = 0 configure:27750: checking for memory.h configure:27775: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:75:19: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] void *p = malloc(10); ^~~~~~ conftest.c:75:19: warning: incompatible implicit declaration of built-in function 'malloc' conftest.c:75:19: note: include '' or provide a declaration of 'malloc' conftest.c:71:1: conftest.c:75:19: void *p = malloc(10); ^~~~~~ conftest.c:76:19: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] void *q = calloc(10,10); ^~~~~~ conftest.c:76:19: warning: incompatible implicit declaration of built-in function 'calloc' conftest.c:76:19: note: include '' or provide a declaration of 'calloc' conftest.c:77:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] free(p); ^~~~ conftest.c:77:9: warning: incompatible implicit declaration of built-in function 'free' conftest.c:77:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors configure:27775: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | void *p = malloc(10); | void *q = calloc(10,10); | free(p); | free(q); | | ; | return 0; | } | configure:27787: result: no configure:27882: checking for sys/types.h configure:27882: result: yes configure:27882: checking for sys/time.h configure:27882: result: yes configure:27882: checking for sys/select.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/socket.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/ioctl.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/uio.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for assert.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for unistd.h configure:27882: result: yes configure:27882: checking for stdlib.h configure:27882: result: yes configure:27882: checking for arpa/inet.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for net/if.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for netinet/in.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for netinet/in6.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:107:10: fatal error: netinet/in6.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for sys/un.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for linux/tcp.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for netinet/tcp.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for netdb.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/sockio.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:111:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for sys/stat.h configure:27882: result: yes configure:27882: checking for sys/param.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for termios.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for termio.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sgtty.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for fcntl.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for alloca.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for time.h configure:27882: result: yes configure:27882: checking for io.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:119:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for pwd.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for utime.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/utime.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:121:10: fatal error: sys/utime.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for sys/poll.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for poll.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for socket.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:123:10: fatal error: socket.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for sys/resource.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for libgen.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for locale.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for errno.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for stdbool.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for arpa/tftp.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for sys/filio.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:129:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:27882: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 | #elif defined(HAVE_UNISTD_H) | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IN6_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:27882: result: no configure:27882: checking for sys/wait.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27882: checking for setjmp.h configure:27882: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27882: $? = 0 configure:27882: result: yes configure:27920: checking for an ANSI C-conforming const configure:27985: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27985: $? = 0 configure:27992: result: yes configure:28001: checking for compiler support of C99 variadic macro style configure:28031: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28031: $? = 0 configure:28043: result: yes configure:28054: checking for compiler support of old gcc variadic macro style configure:28084: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28084: $? = 0 configure:28096: result: yes configure:28108: checking for size_t configure:28108: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28108: $? = 0 configure:28108: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:141:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:28108: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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:28108: result: yes configure:28119: checking whether time.h and sys/time.h may both be included configure:28145: result: yes configure:28157: checking for sys/types.h configure:28157: result: yes configure:28157: checking for sys/time.h configure:28157: result: yes configure:28157: checking for time.h configure:28157: result: yes configure:28157: checking for sys/socket.h configure:28157: result: yes configure:28167: checking for struct timeval configure:28220: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28220: $? = 0 configure:28232: result: yes configure:28288: checking size of size_t configure:28307: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:20: error: duplicate case value switch (0) case 0: case (sizeof (size_t) == 4):; ^~~~ conftest.c:118:12: note: previously used here switch (0) case 0: case (sizeof (size_t) == 4):; ^~~~ configure:28307: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (size_t) == 4):; | ; | return 0; | } configure:28307: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28307: $? = 0 configure:28319: result: 8 configure:28327: checking size of long configure:28346: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:119:20: error: duplicate case value switch (0) case 0: case (sizeof (long) == 4):; ^~~~ conftest.c:119:12: note: previously used here switch (0) case 0: case (sizeof (long) == 4):; ^~~~ configure:28346: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (long) == 4):; | ; | return 0; | } configure:28346: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28346: $? = 0 configure:28358: result: 8 configure:28366: checking size of int configure:28385: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28385: $? = 0 configure:28397: result: 4 configure:28405: checking size of short configure:28424: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:121:20: error: duplicate case value switch (0) case 0: case (sizeof (short) == 4):; ^~~~ conftest.c:121:12: note: previously used here switch (0) case 0: case (sizeof (short) == 4):; ^~~~ configure:28424: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (short) == 4):; | ; | return 0; | } configure:28424: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:121:20: error: duplicate case value switch (0) case 0: case (sizeof (short) == 8):; ^~~~ conftest.c:121:12: note: previously used here switch (0) case 0: case (sizeof (short) == 8):; ^~~~ configure:28424: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (short) == 8):; | ; | return 0; | } configure:28424: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:121:20: error: duplicate case value switch (0) case 0: case (sizeof (short) == 1):; ^~~~ conftest.c:121:12: note: previously used here switch (0) case 0: case (sizeof (short) == 1):; ^~~~ configure:28424: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (short) == 1):; | ; | return 0; | } configure:28424: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28424: $? = 0 configure:28436: result: 2 configure:28444: checking size of time_t configure:28463: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:122:20: error: duplicate case value switch (0) case 0: case (sizeof (time_t) == 4):; ^~~~ conftest.c:122:12: note: previously used here switch (0) case 0: case (sizeof (time_t) == 4):; ^~~~ configure:28463: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (time_t) == 4):; | ; | return 0; | } configure:28463: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28463: $? = 0 configure:28475: result: 8 configure:28483: checking size of off_t configure:28502: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:123:20: error: duplicate case value switch (0) case 0: case (sizeof (off_t) == 4):; ^~~~ conftest.c:123:12: note: previously used here switch (0) case 0: case (sizeof (off_t) == 4):; ^~~~ configure:28502: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | /* end confdefs.h. */ | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (off_t) == 4):; | ; | return 0; | } configure:28502: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28502: $? = 0 configure:28514: result: 8 configure:28525: checking size of curl_off_t configure:28546: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:126:20: error: duplicate case value switch (0) case 0: case (sizeof (curl_off_t) == 4):; ^~~~ conftest.c:126:12: note: previously used here switch (0) case 0: case (sizeof (curl_off_t) == 4):; ^~~~ configure:28546: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | /* end confdefs.h. */ | | #include | | #include | | | int main (void) | { | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ; | return 0; | } configure:28546: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28546: $? = 0 configure:28558: result: 8 configure:28568: checking for long long configure:28568: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28568: $? = 0 configure:28568: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:154:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:28568: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:28568: result: yes configure:28579: checking if numberLL works configure:28596: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28596: $? = 0 configure:28598: result: yes configure:28615: checking for ssize_t configure:28615: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28615: $? = 0 configure:28615: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:156:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:28615: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:28615: result: yes configure:28626: checking for bool configure:28626: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28626: $? = 0 configure:28626: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:132:19: error: expected expression before ')' token if (sizeof ((bool))) ^ configure:28626: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_STDBOOL_H | #include | #endif | | | int main (void) | { | if (sizeof ((bool))) | return 0; | ; | return 0; | } configure:28626: result: yes configure:28645: checking for sa_family_t configure:28645: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28645: $? = 0 configure:28645: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:130:26: error: expected expression before ')' token if (sizeof ((sa_family_t))) ^ configure:28645: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | | | int main (void) | { | if (sizeof ((sa_family_t))) | return 0; | ; | return 0; | } configure:28645: result: yes configure:28679: checking for suseconds_t configure:28679: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28679: $? = 0 configure:28679: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:134:26: error: expected expression before ')' token if (sizeof ((suseconds_t))) ^ configure:28679: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | | | int main (void) | { | if (sizeof ((suseconds_t))) | return 0; | ; | return 0; | } configure:28679: result: yes configure:28697: checking if time_t is unsigned configure:28704: result: no configure:28752: checking for sys/types.h configure:28752: result: yes configure:28752: checking for poll.h configure:28752: result: yes configure:28752: checking for sys/poll.h configure:28752: result: yes configure:28788: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:147:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:147:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:28788: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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:28812: checking for in_addr_t configure:28812: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28812: $? = 0 configure:28812: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:159:24: error: expected expression before ')' token if (sizeof ((in_addr_t))) ^ configure:28812: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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:28812: result: yes configure:28928: checking for struct sockaddr_storage configure:28928: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28928: $? = 0 configure:28928: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:155:38: error: expected expression before ')' token if (sizeof ((struct sockaddr_storage))) ^ configure:28928: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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:28928: result: yes configure:28965: checking signal.h usability configure:28965: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28965: $? = 0 configure:28965: result: yes configure:28965: checking signal.h presence configure:28965: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:28965: $? = 0 configure:28965: result: yes configure:28965: checking for signal.h configure:28965: result: yes configure:28975: checking for sig_atomic_t configure:28975: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28975: $? = 0 configure:28975: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:137:27: error: expected expression before ')' token if (sizeof ((sig_atomic_t))) ^ configure:28975: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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:28975: result: yes configure:28992: checking if sig_atomic_t is already defined as volatile configure:29012: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29012: $? = 0 configure:29014: result: no configure:29037: checking return type of signal handlers configure:29054: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:135:10: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ~^~~~~~~~~~~~~~~~~~ configure:29054: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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:29061: result: void configure:29074: checking for sys/select.h configure:29074: result: yes configure:29074: checking for sys/socket.h configure:29074: result: yes configure:29085: checking for select configure:29144: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29144: $? = 0 configure:29146: result: yes configure:29161: checking types of args and return type for select configure:29250: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29250: $? = 0 configure:29263: result: int,fd_set *,struct timeval *,int configure:29348: checking for sys/types.h configure:29348: result: yes configure:29348: checking for sys/socket.h configure:29348: result: yes configure:29359: checking for recv configure:29401: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29401: $? = 0 configure:29403: result: yes configure:29418: checking types of args and return type for recv configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, size_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, size_t, int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, int, int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(int, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | void * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(ssize_t, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | void * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:35: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:178:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int RECVCALLCONV | recv(SOCKET, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | void * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:172:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:166: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29481: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t RECVCALLCONV | recv(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | ssize_t res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29481: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29481: $? = 0 configure:29495: result: int,void *,size_t,int,ssize_t configure:29546: checking for sys/types.h configure:29546: result: yes configure:29546: checking for sys/socket.h configure:29546: result: yes configure:29557: checking for send configure:29599: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29599: $? = 0 configure:29601: result: yes configure:29616: checking types of args and return type for send configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(int, const void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, size_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, size_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, int, int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, socklen_t, int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, unsigned int, int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(ssize_t, const void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, size_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, size_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, size_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, size_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, size_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, size_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, int, int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, socklen_t, int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, unsigned int, int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:35: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:186:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern int SENDCALLCONV | send(SOCKET, const void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, void *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, size_t, int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, size_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, int, int); | #endif | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, int, unsigned int); | #endif | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, socklen_t, int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, socklen_t, unsigned int); | #endif | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, unsigned int, int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:174: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:29678: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | #ifndef HAVE_PROTO_BSDSOCKET_H | extern ssize_t SENDCALLCONV | send(int, const char *, unsigned int, unsigned int); | #endif | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:29678: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29678: $? = 0 configure:29692: result: int,const void *,size_t,int,ssize_t configure:29780: checking for sys/types.h configure:29780: result: yes configure:29780: checking for sys/socket.h configure:29780: result: yes configure:29790: checking for MSG_NOSIGNAL configure:29836: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29836: $? = 0 configure:29848: result: yes configure:29874: checking for sys/types.h configure:29874: result: yes configure:29874: checking for unistd.h configure:29874: result: yes configure:29893: checking if alarm can be linked configure:29922: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29922: $? = 0 configure:29924: result: yes configure:29939: checking if alarm is prototyped configure:29950: result: yes configure:29966: checking if alarm is compilable configure:29985: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29985: $? = 0 configure:29987: result: yes configure:30002: checking if alarm usage allowed configure:30005: result: yes configure:30015: checking if alarm might be used configure:30021: result: yes configure:30051: checking for sys/types.h configure:30051: result: yes configure:30051: checking for string.h configure:30051: result: yes configure:30051: checking for strings.h configure:30051: result: yes configure:30076: checking for sys/types.h configure:30076: result: yes configure:30076: checking for libgen.h configure:30076: result: yes configure:30095: checking if basename can be linked configure:30124: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30124: $? = 0 configure:30126: result: yes configure:30141: checking if basename is prototyped configure:30154: result: yes configure:30170: checking if basename is compilable configure:30191: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30191: $? = 0 configure:30193: result: yes configure:30208: checking if basename usage allowed configure:30211: result: yes configure:30221: checking if basename might be used configure:30227: result: yes configure:30254: checking for sys/types.h configure:30254: result: yes configure:30254: checking for socket.h configure:30254: result: no configure:30273: checking if closesocket can be linked configure:30294: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:204:15: error: implicit declaration of function 'closesocket' [-Werror=implicit-function-declaration] if(0 != closesocket(0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:30294: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != closesocket(0)) | return 1; | | ; | return 0; | } | configure:30302: result: no configure:30391: checking if closesocket might be used configure:30406: result: no configure:30424: checking for sys/types.h configure:30424: result: yes configure:30424: checking for sys/socket.h configure:30424: result: yes configure:30443: checking if CloseSocket can be linked configure:30462: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:185:15: error: implicit declaration of function 'CloseSocket'; did you mean 'socket'? [-Werror=implicit-function-declaration] if(0 != CloseSocket(0)) ^~~~~~~~~~~ socket cc1: some warnings being treated as errors configure:30462: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != CloseSocket(0)) | return 1; | | ; | return 0; | } | configure:30470: result: no configure:30555: checking if CloseSocket might be used configure:30570: result: no configure:30582: checking if connect can be linked configure:30604: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30604: $? = 0 configure:30606: result: yes configure:30621: checking if connect is prototyped configure:30635: result: yes configure:30651: checking if connect is compilable configure:30673: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30673: $? = 0 configure:30675: result: yes configure:30690: checking if connect usage allowed configure:30693: result: yes configure:30703: checking if connect might be used configure:30709: result: yes configure:30739: checking for sys/types.h configure:30739: result: yes configure:30739: checking for unistd.h configure:30739: result: yes configure:30739: checking for fcntl.h configure:30739: result: yes configure:30758: checking if fcntl can be linked configure:30787: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30787: $? = 0 configure:30789: result: yes configure:30804: checking if fcntl is prototyped configure:30815: result: yes configure:30831: checking if fcntl is compilable configure:30850: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30850: $? = 0 configure:30852: result: yes configure:30867: checking if fcntl usage allowed configure:30870: result: yes configure:30880: checking if fcntl might be used configure:30886: result: yes configure:30906: checking if fcntl O_NONBLOCK is compilable configure:30926: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30926: $? = 0 configure:30928: result: yes configure:30943: checking if fcntl O_NONBLOCK usage allowed configure:30946: result: yes configure:30956: checking if fcntl O_NONBLOCK might be used configure:30960: result: yes configure:30997: checking for windows.h configure:31039: result: no configure:31052: checking for winsock2.h configure:31095: result: no configure:31108: checking for ws2tcpip.h configure:31152: result: no configure:31178: checking for sys/types.h configure:31178: result: yes configure:31178: checking for netdb.h configure:31178: result: yes configure:31197: checking if freeaddrinfo can be linked configure:31217: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31217: $? = 0 configure:31219: result: yes configure:31234: checking if freeaddrinfo is prototyped configure:31247: result: yes configure:31263: checking if freeaddrinfo is compilable configure:31283: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31283: $? = 0 configure:31285: result: yes configure:31300: checking if freeaddrinfo usage allowed configure:31303: result: yes configure:31313: checking if freeaddrinfo might be used configure:31319: result: yes configure:31352: checking for sys/types.h configure:31352: result: yes configure:31352: checking for sys/socket.h configure:31352: result: yes configure:31352: checking for netinet/in.h configure:31352: result: yes configure:31352: checking for ifaddrs.h configure:31352: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31352: $? = 0 configure:31352: result: yes configure:31371: checking if freeifaddrs can be linked configure:31400: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31400: $? = 0 configure:31402: result: yes configure:31417: checking if freeifaddrs is prototyped configure:31428: result: yes configure:31444: checking if freeifaddrs is compilable configure:31462: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31462: $? = 0 configure:31464: result: yes configure:31479: checking if freeifaddrs usage allowed configure:31482: result: yes configure:31492: checking if freeifaddrs might be used configure:31498: result: yes configure:31525: checking for sys/types.h configure:31525: result: yes configure:31525: checking for sys/xattr.h configure:31525: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31525: $? = 0 configure:31525: result: yes configure:31545: checking if fsetxattr can be linked configure:31574: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31574: $? = 0 configure:31576: result: yes configure:31591: checking if fsetxattr is prototyped configure:31602: result: yes configure:31619: checking if fsetxattr takes 5 args. configure:31638: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31638: $? = 0 configure:31640: result: yes configure:31690: checking if fsetxattr is compilable configure:31693: result: yes configure:31702: checking if fsetxattr usage allowed configure:31705: result: yes configure:31715: checking if fsetxattr might be used configure:31721: result: yes configure:31753: checking if ftruncate can be linked configure:31782: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31782: $? = 0 configure:31784: result: yes configure:31799: checking if ftruncate is prototyped configure:31810: result: yes configure:31826: checking if ftruncate is compilable configure:31845: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31845: $? = 0 configure:31847: result: yes configure:31862: checking if ftruncate usage allowed configure:31865: result: yes configure:31875: checking if ftruncate might be used configure:31881: result: yes configure:31908: checking for sys/types.h configure:31908: result: yes configure:31908: checking for stdlib.h configure:31908: result: yes configure:31929: checking if getaddrinfo can be linked configure:31950: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31950: $? = 0 configure:31952: result: yes configure:31967: checking if getaddrinfo is prototyped configure:31980: result: yes configure:31996: checking if getaddrinfo is compilable configure:32017: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32017: $? = 0 configure:32019: result: yes configure:32106: checking if getaddrinfo usage allowed configure:32109: result: yes configure:32119: checking if getaddrinfo might be used configure:32126: result: yes configure:32142: checking if getaddrinfo is threadsafe configure:32207: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32207: $? = 0 configure:32249: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32249: $? = 0 configure:32280: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 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:32280: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | /* end confdefs.h. */ | | | | int main (void) | { | | #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) | return 0; | #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700) | return 0; | #else | force compilation error | #endif | | ; | return 0; | } | configure:32298: result: yes configure:32319: checking if gai_strerror can be linked configure:32340: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32340: $? = 0 configure:32342: result: yes configure:32357: checking if gai_strerror is prototyped configure:32370: result: yes configure:32386: checking if gai_strerror is compilable configure:32407: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32407: $? = 0 configure:32409: result: yes configure:32424: checking if gai_strerror usage allowed configure:32427: result: yes configure:32437: checking if gai_strerror might be used configure:32443: result: yes configure:32464: checking if gethostbyaddr can be linked configure:32485: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32485: $? = 0 configure:32487: result: yes configure:32502: checking if gethostbyaddr is prototyped configure:32515: result: yes configure:32531: checking if gethostbyaddr is compilable configure:32552: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32552: $? = 0 configure:32554: result: yes configure:32569: checking if gethostbyaddr usage allowed configure:32572: result: yes configure:32582: checking if gethostbyaddr might be used configure:32588: result: yes configure:32610: checking if gethostbyaddr_r can be linked configure:32639: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32639: $? = 0 configure:32641: result: yes configure:32656: checking if gethostbyaddr_r is prototyped configure:32667: result: yes configure:32684: checking if gethostbyaddr_r takes 5 args. configure:32703: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 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: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:170:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^~~~~~~~~~~~~~~ configure:32703: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:32712: result: no configure:32720: checking if gethostbyaddr_r takes 7 args. configure:32739: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 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: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:170:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^~~~~~~~~~~~~~~ configure:32739: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:32748: result: no configure:32756: checking if gethostbyaddr_r takes 8 args. configure:32775: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32775: $? = 0 configure:32777: result: yes configure:32791: checking if gethostbyaddr_r is compilable configure:32794: result: yes configure:32803: checking if gethostbyaddr_r usage allowed configure:32806: result: yes configure:32816: checking if gethostbyaddr_r might be used configure:32822: result: yes configure:32858: checking if gethostbyname can be linked configure:32879: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32879: $? = 0 configure:32881: result: yes configure:32896: checking if gethostbyname is prototyped configure:32909: result: yes configure:32925: checking if gethostbyname is compilable configure:32946: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32946: $? = 0 configure:32948: result: yes configure:32963: checking if gethostbyname usage allowed configure:32966: result: yes configure:32976: checking if gethostbyname might be used configure:32982: result: yes configure:33004: checking if gethostbyname_r can be linked configure:33033: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33033: $? = 0 configure:33035: result: yes configure:33050: checking if gethostbyname_r is prototyped configure:33061: result: yes configure:33078: checking if gethostbyname_r takes 3 args. configure:33097: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 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: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:177:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^~~~~~~~~~~~~~~ configure:33097: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33106: result: no configure:33114: checking if gethostbyname_r takes 5 args. configure:33133: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 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: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:177:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^~~~~~~~~~~~~~~ configure:33133: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33142: result: no configure:33150: checking if gethostbyname_r takes 6 args. configure:33169: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33169: $? = 0 configure:33171: result: yes configure:33185: checking if gethostbyname_r is compilable configure:33188: result: yes configure:33197: checking if gethostbyname_r usage allowed configure:33200: result: yes configure:33210: checking if gethostbyname_r might be used configure:33216: result: yes configure:33262: checking if gethostname can be linked configure:33283: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33283: $? = 0 configure:33285: result: yes configure:33300: checking if gethostname is prototyped configure:33313: result: yes configure:33329: checking if gethostname is compilable configure:33350: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33350: $? = 0 configure:33352: result: yes configure:33367: checking for gethostname arg 2 data type configure:33394: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:239:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, int); ^~~~~~~~~~~ In file included from conftest.c:229: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:877:12: note: previous declaration of 'gethostname' was here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); ^~~~~~~~~~~ configure:33394: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV gethostname(char *, int); | | int main (void) | { | | if(0 != gethostname(0, 0)) | return 1; | | ; | return 0; | } | configure:33394: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:239:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, unsigned int); ^~~~~~~~~~~ In file included from conftest.c:229: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:877:12: note: previous declaration of 'gethostname' was here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); ^~~~~~~~~~~ configure:33394: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV gethostname(char *, unsigned int); | | int main (void) | { | | if(0 != gethostname(0, 0)) | return 1; | | ; | return 0; | } | configure:33394: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33394: $? = 0 configure:33403: result: size_t configure:33415: checking if gethostname usage allowed configure:33418: result: yes configure:33428: checking if gethostname might be used configure:33434: result: yes configure:33455: checking if getpeername can be linked configure:33476: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33476: $? = 0 configure:33478: result: yes configure:33493: checking if getpeername is prototyped configure:33506: result: yes configure:33522: checking if getpeername is compilable configure:33543: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33543: $? = 0 configure:33545: result: yes configure:33560: checking if getpeername usage allowed configure:33563: result: yes configure:33573: checking if getpeername might be used configure:33579: result: yes configure:33600: checking if getsockname can be linked configure:33621: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33621: $? = 0 configure:33623: result: yes configure:33638: checking if getsockname is prototyped configure:33651: result: yes configure:33667: checking if getsockname is compilable configure:33688: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33688: $? = 0 configure:33690: result: yes configure:33705: checking if getsockname usage allowed configure:33708: result: yes configure:33718: checking if getsockname might be used configure:33724: result: yes configure:33747: checking for net/if.h configure:33747: result: yes configure:33766: checking if if_nametoindex can be linked configure:33787: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33787: $? = 0 configure:33789: result: yes configure:33804: checking if if_nametoindex is prototyped configure:33816: result: yes configure:33832: checking if if_nametoindex is compilable configure:33852: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33852: $? = 0 configure:33854: result: yes configure:33869: checking if if_nametoindex usage allowed configure:33872: result: yes configure:33882: checking if if_nametoindex might be used configure:33888: result: yes configure:33910: checking if getifaddrs can be linked configure:33939: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33939: $? = 0 configure:33941: result: yes configure:33956: checking if getifaddrs is prototyped configure:33967: result: yes configure:33983: checking if getifaddrs is compilable configure:34002: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34002: $? = 0 configure:34004: result: yes configure:34077: checking if getifaddrs usage allowed configure:34080: result: yes configure:34090: checking if getifaddrs might be used configure:34097: result: yes configure:34119: checking if getservbyport_r can be linked configure:34148: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34148: $? = 0 configure:34150: result: yes configure:34165: checking if getservbyport_r is prototyped configure:34176: result: yes configure:34193: checking if getservbyport_r takes 4 args. configure:34212: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:222:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:215: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:316:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^~~~~~~~~~~~~~~ configure:34212: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:34221: result: no configure:34229: checking if getservbyport_r takes 5 args. configure:34248: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:222:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:215: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:316:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^~~~~~~~~~~~~~~ configure:34248: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:34257: result: no configure:34265: checking if getservbyport_r takes 6 args. configure:34284: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34284: $? = 0 configure:34286: result: yes configure:34300: checking if getservbyport_r is compilable configure:34303: result: yes configure:34312: checking if getservbyport_r usage allowed configure:34315: result: yes configure:34325: checking if getservbyport_r might be used configure:34331: result: yes configure:34379: checking for sys/types.h configure:34379: result: yes configure:34379: checking for sys/time.h configure:34379: result: yes configure:34379: checking for time.h configure:34379: result: yes configure:34399: checking if gmtime_r can be linked configure:34428: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34428: $? = 0 configure:34430: result: yes configure:34445: checking if gmtime_r is prototyped configure:34456: result: yes configure:34472: checking if gmtime_r is compilable configure:34491: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34491: $? = 0 configure:34493: result: yes configure:34566: checking if gmtime_r usage allowed configure:34569: result: yes configure:34579: checking if gmtime_r might be used configure:34586: result: yes configure:34623: checking for sys/types.h configure:34623: result: yes configure:34623: checking for sys/socket.h configure:34623: result: yes configure:34623: checking for netinet/in.h configure:34623: result: yes configure:34623: checking for arpa/inet.h configure:34623: result: yes configure:34643: checking if inet_ntoa_r can be linked configure:34672: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccGSJ3PE.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:34672: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:34680: result: no configure:34815: checking if inet_ntoa_r might be used configure:34841: result: no configure:34854: checking if inet_ntop can be linked configure:34883: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34883: $? = 0 configure:34885: result: yes configure:34900: checking if inet_ntop is prototyped configure:34911: result: yes configure:34927: checking if inet_ntop is compilable configure:34946: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34946: $? = 0 configure:34948: result: yes configure:35063: checking if inet_ntop usage allowed configure:35066: result: yes configure:35076: checking if inet_ntop might be used configure:35083: result: yes configure:35105: checking if inet_pton can be linked configure:35134: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35134: $? = 0 configure:35136: result: yes configure:35151: checking if inet_pton is prototyped configure:35162: result: yes configure:35178: checking if inet_pton is compilable configure:35197: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35197: $? = 0 configure:35199: result: yes configure:35307: checking if inet_pton usage allowed configure:35310: result: yes configure:35320: checking if inet_pton might be used configure:35327: result: yes configure:35363: checking for sys/types.h configure:35363: result: yes configure:35363: checking for unistd.h configure:35363: result: yes configure:35363: checking for sys/socket.h configure:35363: result: yes configure:35363: checking for sys/ioctl.h configure:35363: result: yes configure:35363: checking for stropts.h configure:35363: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:243:10: fatal error: stropts.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:35363: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | #ifdef HAVE_SYS_IOCTL_H | # include | #endif | #ifdef HAVE_STROPTS_H | # include | #endif | /* includes end */ | | #include configure:35363: result: no configure:35382: checking if ioctl can be linked configure:35411: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35411: $? = 0 configure:35413: result: yes configure:35428: checking if ioctl is prototyped configure:35439: result: yes configure:35455: checking if ioctl is compilable configure:35474: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35474: $? = 0 configure:35476: result: yes configure:35491: checking if ioctl usage allowed configure:35494: result: yes configure:35504: checking if ioctl might be used configure:35510: result: yes configure:35524: checking if ioctl FIONBIO is compilable configure:35544: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35544: $? = 0 configure:35546: result: yes configure:35561: checking if ioctl FIONBIO usage allowed configure:35564: result: yes configure:35574: checking if ioctl FIONBIO might be used configure:35578: result: yes configure:35598: checking if ioctl SIOCGIFADDR is compilable configure:35619: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35619: $? = 0 configure:35621: result: yes configure:35636: checking if ioctl SIOCGIFADDR usage allowed configure:35639: result: yes configure:35649: checking if ioctl SIOCGIFADDR might be used configure:35653: result: yes configure:35680: checking if ioctlsocket can be linked configure:35700: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:255:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] if(0 != ioctlsocket(0, 0, 0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:35700: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:35708: result: no configure:35795: checking if ioctlsocket might be used configure:35885: result: no configure:35897: checking if IoctlSocket can be linked configure:35926: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccp9Xb7W.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:35926: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:35934: result: no configure:36019: checking if IoctlSocket might be used configure:36108: result: no configure:36121: checking if localtime_r can be linked configure:36150: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36150: $? = 0 configure:36152: result: yes configure:36167: checking if localtime_r is prototyped configure:36178: result: yes configure:36194: checking if localtime_r is compilable configure:36213: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:36213: $? = 0 configure:36215: result: yes configure:36288: checking if localtime_r usage allowed configure:36291: result: yes configure:36301: checking if localtime_r might be used configure:36308: result: yes configure:36330: checking if memrchr can be linked configure:36359: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36359: $? = 0 configure:36361: result: yes configure:36413: checking if memrchr is prototyped configure:36430: result: no configure:36490: checking if memrchr might be used configure:36505: result: no configure:36525: checking if poll can be linked configure:36544: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36544: $? = 0 configure:36546: result: yes configure:36561: checking if poll is prototyped configure:36572: result: yes configure:36588: checking if poll is compilable configure:36607: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:36607: $? = 0 configure:36609: result: yes configure:36694: checking if poll usage allowed configure:36697: result: yes configure:36707: checking if poll might be used configure:36714: result: yes configure:36740: checking if setsockopt can be linked configure:36761: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36761: $? = 0 configure:36763: result: yes configure:36778: checking if setsockopt is prototyped configure:36791: result: yes configure:36807: checking if setsockopt is compilable configure:36828: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:36828: $? = 0 configure:36830: result: yes configure:36845: checking if setsockopt usage allowed configure:36848: result: yes configure:36858: checking if setsockopt might be used configure:36864: result: yes configure:36878: checking if setsockopt SO_NONBLOCK is compilable configure:36899: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:267:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ^~~~~~~~~~~ SOCK_NONBLOCK conftest.c:267:43: note: each undeclared identifier is reported only once for each function it appears in configure:36899: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | return 1; | | ; | return 0; | } | configure:36907: result: no configure:36929: checking if setsockopt SO_NONBLOCK might be used configure:36942: result: no configure:36966: checking for sys/types.h configure:36966: result: yes configure:36966: checking for signal.h configure:36966: result: yes configure:36985: checking if sigaction can be linked configure:37014: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37014: $? = 0 configure:37016: result: yes configure:37031: checking if sigaction is prototyped configure:37042: result: yes configure:37058: checking if sigaction is compilable configure:37077: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37077: $? = 0 configure:37079: result: yes configure:37094: checking if sigaction usage allowed configure:37097: result: yes configure:37107: checking if sigaction might be used configure:37113: result: yes configure:37134: checking if siginterrupt can be linked configure:37163: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37163: $? = 0 configure:37165: result: yes configure:37180: checking if siginterrupt is prototyped configure:37191: result: yes configure:37207: checking if siginterrupt is compilable configure:37226: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37226: $? = 0 configure:37228: result: yes configure:37243: checking if siginterrupt usage allowed configure:37246: result: yes configure:37256: checking if siginterrupt might be used configure:37262: result: yes configure:37283: checking if signal can be linked configure:37312: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37312: $? = 0 configure:37314: result: yes configure:37329: checking if signal is prototyped configure:37340: result: yes configure:37356: checking if signal is compilable configure:37375: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37375: $? = 0 configure:37377: result: yes configure:37392: checking if signal usage allowed configure:37395: result: yes configure:37405: checking if signal might be used configure:37411: result: yes configure:37438: checking for sys/types.h configure:37438: result: yes configure:37438: checking for setjmp.h configure:37438: result: yes configure:37458: checking if sigsetjmp can be linked configure:37487: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccfNaJS5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetjmp' collect2: error: ld returned 1 exit status configure:37487: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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 | /* end confdefs.h. */ | | | #define sigsetjmp innocuous_sigsetjmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef sigsetjmp | #ifdef __cplusplus | extern "C" | #endif | char sigsetjmp (); | #if defined __stub_sigsetjmp || defined __stub___sigsetjmp | choke me | #endif | | int main (void) | { | return sigsetjmp (); | ; | return 0; | } | configure:37495: result: no configure:37504: checking if sigsetjmp seems a macro configure:37524: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37524: $? = 0 configure:37526: result: yes configure:37570: checking if sigsetjmp is compilable configure:37590: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37590: $? = 0 configure:37592: result: yes configure:37607: checking if sigsetjmp usage allowed configure:37610: result: yes configure:37620: checking if sigsetjmp might be used configure:37626: result: yes configure:37647: checking if socket can be linked configure:37669: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37669: $? = 0 configure:37671: result: yes configure:37686: checking if socket is prototyped configure:37700: result: yes configure:37716: checking if socket is compilable configure:37738: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37738: $? = 0 configure:37740: result: yes configure:37755: checking if socket usage allowed configure:37758: result: yes configure:37768: checking if socket might be used configure:37774: result: yes configure:37795: checking if socketpair can be linked configure:37824: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37824: $? = 0 configure:37826: result: yes configure:37841: checking if socketpair is prototyped configure:37853: result: yes configure:37869: checking if socketpair is compilable configure:37890: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37890: $? = 0 configure:37892: result: yes configure:37907: checking if socketpair usage allowed configure:37910: result: yes configure:37920: checking if socketpair might be used configure:37926: result: yes configure:37947: checking if strcasecmp can be linked configure:37976: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:254:6: warning: conflicting types for built-in function 'strcasecmp' [-Wbuiltin-declaration-mismatch] char strcasecmp (); ^~~~~~~~~~ configure:37976: $? = 0 configure:37978: result: yes configure:37993: checking if strcasecmp is prototyped configure:38004: result: yes configure:38020: checking if strcasecmp is compilable configure:38039: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38039: $? = 0 configure:38041: result: yes configure:38056: checking if strcasecmp usage allowed configure:38059: result: yes configure:38069: checking if strcasecmp might be used configure:38075: result: yes configure:38096: checking if strcmpi can be linked configure:38125: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cce7SBQB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:38125: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38133: result: no configure:38218: checking if strcmpi might be used configure:38233: result: no configure:38245: checking if strdup can be linked configure:38274: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:255:6: warning: conflicting types for built-in function 'strdup' [-Wbuiltin-declaration-mismatch] char strdup (); ^~~~~~ configure:38274: $? = 0 configure:38276: result: yes configure:38291: checking if strdup is prototyped configure:38302: result: yes configure:38318: checking if strdup is compilable configure:38337: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38337: $? = 0 configure:38339: result: yes configure:38354: checking if strdup usage allowed configure:38357: result: yes configure:38367: checking if strdup might be used configure:38373: result: yes configure:38400: checking if strerror_r can be linked configure:38429: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38429: $? = 0 configure:38431: result: yes configure:38446: checking if strerror_r is prototyped configure:38457: result: yes configure:38473: checking if strerror_r is compilable configure:38492: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38492: $? = 0 configure:38494: result: yes configure:38509: checking if strerror_r is glibc like configure:38532: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:257:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, size_t bufsize); ^~~~~~~~~~ In file included from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:450, from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:248: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38532: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38532: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:257:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, int bufsize); ^~~~~~~~~~ In file included from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:450, from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:248: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38532: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38532: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:257:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); ^~~~~~~~~~ In file included from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:450, from /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:248: /data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38532: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38542: result: no configure:38616: checking if strerror_r is POSIX like configure:38639: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38639: $? = 0 configure:38654: result: yes configure:38738: checking if strerror_r usage allowed configure:38741: result: yes configure:38751: checking if strerror_r might be used configure:38757: result: yes configure:38814: checking if stricmp can be linked configure:38843: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cczp25tu.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:38843: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38851: result: no configure:38936: checking if stricmp might be used configure:38951: result: no configure:38963: checking if strncasecmp can be linked configure:38992: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:259:6: warning: conflicting types for built-in function 'strncasecmp' [-Wbuiltin-declaration-mismatch] char strncasecmp (); ^~~~~~~~~~~ configure:38992: $? = 0 configure:38994: result: yes configure:39009: checking if strncasecmp is prototyped configure:39020: result: yes configure:39036: checking if strncasecmp is compilable configure:39055: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39055: $? = 0 configure:39057: result: yes configure:39072: checking if strncasecmp usage allowed configure:39075: result: yes configure:39085: checking if strncasecmp might be used configure:39091: result: yes configure:39112: checking if strncmpi can be linked configure:39141: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccYn0Ens.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:39141: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:39149: result: no configure:39234: checking if strncmpi might be used configure:39249: result: no configure:39261: checking if strnicmp can be linked configure:39290: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccJMCX7S.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:39290: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:39298: result: no configure:39383: checking if strnicmp might be used configure:39398: result: no configure:39410: checking if strstr can be linked configure:39439: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:260:6: warning: conflicting types for built-in function 'strstr' [-Wbuiltin-declaration-mismatch] char strstr (); ^~~~~~ configure:39439: $? = 0 configure:39441: result: yes configure:39456: checking if strstr is prototyped configure:39467: result: yes configure:39483: checking if strstr is compilable configure:39502: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39502: $? = 0 configure:39504: result: yes configure:39519: checking if strstr usage allowed configure:39522: result: yes configure:39532: checking if strstr might be used configure:39538: result: yes configure:39559: checking if strtok_r can be linked configure:39588: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39588: $? = 0 configure:39590: result: yes configure:39605: checking if strtok_r is prototyped configure:39616: result: yes configure:39632: checking if strtok_r is compilable configure:39651: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39651: $? = 0 configure:39653: result: yes configure:39668: checking if strtok_r usage allowed configure:39671: result: yes configure:39681: checking if strtok_r might be used configure:39687: result: yes configure:39708: checking if strtoll can be linked configure:39737: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39737: $? = 0 configure:39739: result: yes configure:39754: checking if strtoll is prototyped configure:39765: result: yes configure:39781: checking if strtoll is compilable configure:39800: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39800: $? = 0 configure:39802: result: yes configure:39817: checking if strtoll usage allowed configure:39820: result: yes configure:39830: checking if strtoll might be used configure:39836: result: yes configure:39863: checking for sys/types.h configure:39863: result: yes configure:39863: checking for sys/uio.h configure:39863: result: yes configure:39882: checking if writev can be linked configure:39911: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39911: $? = 0 configure:39913: result: yes configure:39928: checking if writev is prototyped configure:39939: result: yes configure:39955: checking if writev is compilable configure:39974: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39974: $? = 0 configure:39976: result: yes configure:39991: checking if writev usage allowed configure:39994: result: yes configure:40004: checking if writev might be used configure:40010: result: yes configure:40034: checking whether getpwuid_r is declared configure:40034: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:40034: $? = 0 configure:40034: result: yes configure:40076: checking for fnmatch configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for geteuid configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for getpass_r configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccdZLbow.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:40076: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | #define getpass_r innocuous_getpass_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getpass_r | #ifdef __cplusplus | extern "C" | #endif | char getpass_r (); | #if defined __stub_getpass_r || defined __stub___getpass_r | choke me | #endif | | int main (void) | { | return getpass_r (); | ; | return 0; | } configure:40076: result: no configure:40088: checking deeper for getpass_r configure:40105: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:263:9: error: implicit declaration of function 'getpass_r' [-Werror=implicit-function-declaration] getpass_r (); ^~~~~~~~~ cc1: some warnings being treated as errors configure:40105: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | | | int main (void) | { | | getpass_r (); | | ; | return 0; | } | configure:40118: result: but still no configure:40076: checking for getppid configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for getpwuid configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for getpwuid_r configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for getrlimit configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for gettimeofday configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for if_nametoindex configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for mach_absolute_time configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccbEmGDH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status configure:40076: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | /* end confdefs.h. */ | | #define mach_absolute_time innocuous_mach_absolute_time | #ifdef __STDC__ | # include | #else | # include | #endif | #undef mach_absolute_time | #ifdef __cplusplus | extern "C" | #endif | char mach_absolute_time (); | #if defined __stub_mach_absolute_time || defined __stub___mach_absolute_time | choke me | #endif | | int main (void) | { | return mach_absolute_time (); | ; | return 0; | } configure:40076: result: no configure:40088: checking deeper for mach_absolute_time configure:40105: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:269:9: error: implicit declaration of function 'mach_absolute_time' [-Werror=implicit-function-declaration] mach_absolute_time (); ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors configure:40105: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | /* end confdefs.h. */ | | | | int main (void) | { | | mach_absolute_time (); | | ; | return 0; | } | configure:40118: result: but still no configure:40076: checking for pipe configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for setlocale configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for setmode configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccZAFK8L.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:40076: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | #define setmode innocuous_setmode | #ifdef __STDC__ | # include | #else | # include | #endif | #undef setmode | #ifdef __cplusplus | extern "C" | #endif | char setmode (); | #if defined __stub_setmode || defined __stub___setmode | choke me | #endif | | int main (void) | { | return setmode (); | ; | return 0; | } configure:40076: result: no configure:40088: checking deeper for setmode configure:40105: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:271:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration] setmode (); ^~~~~~~ cc1: some warnings being treated as errors configure:40105: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | | | int main (void) | { | | setmode (); | | ; | return 0; | } | configure:40118: result: but still no configure:40076: checking for setrlimit configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for usleep configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for utime configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40076: checking for utimes configure:40076: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40076: $? = 0 configure:40076: result: yes configure:40134: checking how to set a socket into non-blocking mode configure:40147: result: fcntl O_NONBLOCK configure:40158: checking for perl configure:40189: result: /usr/bin/perl configure:40203: checking for gnroff configure:40237: result: no configure:40203: checking for nroff configure:40222: found /usr/bin/nroff configure:40234: result: /usr/bin/nroff configure:40249: checking how to use *nroff to get plain text from man pages configure:40267: result: -man configure:40710: checking whether to enable the threaded resolver configure:40726: result: yes configure:40731: checking whether to use POSIX threads for threaded resolver configure:40747: result: auto configure:40773: checking pthread.h usability configure:40773: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:40773: $? = 0 configure:40773: result: yes configure:40773: checking pthread.h presence configure:40773: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:40773: $? = 0 configure:40773: result: yes configure:40773: checking for pthread.h configure:40773: result: yes configure:40782: checking for pthread_create configure:40782: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c >&5 /data/buildroot-test/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cciro1BA.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status configure:40782: $? = 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 "riscv64-buildroot-linux-gnu" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_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_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_VERSION 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_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 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define SIZEOF_CURL_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define CURL_SA_FAMILY_T sa_family_t | #define HAVE_SUSECONDS_T 1 | #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 ssize_t | #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 ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPEERNAME 1 | #define HAVE_GETSOCKNAME 1 | #define HAVE_NET_IF_H 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_DECL_GETPWUID_R 1 | #define HAVE_FNMATCH 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_USLEEP 1 | #define HAVE_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | | #define pthread_create innocuous_pthread_create | #ifdef __STDC__ | # include | #else | # include | #endif | #undef pthread_create | #ifdef __cplusplus | extern "C" | #endif | char pthread_create (); | #if defined __stub_pthread_create || defined __stub___pthread_create | choke me | #endif | | int main (void) | { | return pthread_create (); | ; | return 0; | } configure:40782: result: no configure:40800: checking for pthread_create in -lpthread configure:40822: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib conftest.c -lpthread -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40822: $? = 0 configure:40831: result: yes configure:40870: checking convert -I options to -isystem configure:40874: result: yes configure:40912: checking whether to enable verbose strings configure:40918: result: no configure:40936: checking whether to enable SSPI support (Windows native builds only) configure:40975: result: no configure:40982: checking whether to enable cryptographic authentication methods configure:41000: result: yes configure:41031: checking whether to enable NTLM delegation to winbind's helper configure:41038: result: no configure:41053: checking whether to enable TLS-SRP authentication configure:41069: result: yes configure:41084: checking whether to enable Unix domain sockets configure:41100: result: auto configure:41108: checking for struct sockaddr_un.sun_path configure:41108: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:41108: $? = 0 configure:41108: result: yes configure:41131: checking whether to support cookies configure:41137: result: no configure:41154: checking whether to support socketpair configure:41171: result: yes configure:41177: checking whether to support HTTP authentication configure:41194: result: yes configure:41200: checking whether to support DoH configure:41217: result: yes configure:41223: checking whether to support the MIME API configure:41240: result: yes configure:41246: checking whether to support date parsing configure:41263: result: yes configure:41269: checking whether to support netrc parsing configure:41286: result: yes configure:41292: checking whether to support progress-meter configure:41309: result: yes configure:41315: checking whether to support DNS shuffling configure:41332: result: yes configure:41338: checking whether to support curl_easy_option* configure:41355: result: yes configure:41362: checking whether to support alt-svc configure:41378: result: no configure:41427: checking whether hiding of library internal symbols will actually happen configure:41441: result: yes configure:41705: using LIBS: -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz configure:41707: LIBS note: LIBS should only be used to specify libraries (-lname). configure:41817: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -pthread configure:41823: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:41823: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:41823: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:41854: WARNING: Continuing even with errors mentioned immediately above this line. configure:41974: checking that generated files are newer than configure configure:41980: result: done configure:42071: 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 iof481.pnap.ioflood.com config.status:1498: creating Makefile config.status:1498: creating docs/Makefile config.status:1498: creating docs/examples/Makefile config.status:1498: creating docs/libcurl/Makefile config.status:1498: creating docs/libcurl/opts/Makefile config.status:1498: creating docs/cmdline-opts/Makefile config.status:1498: creating include/Makefile config.status:1498: creating include/curl/Makefile config.status:1498: creating src/Makefile config.status:1498: creating lib/Makefile config.status:1498: creating scripts/Makefile config.status:1498: creating lib/libcurl.vers config.status:1498: creating tests/Makefile config.status:1498: creating tests/certs/Makefile config.status:1498: creating tests/certs/scripts/Makefile config.status:1498: creating tests/data/Makefile config.status:1498: creating tests/server/Makefile config.status:1498: creating tests/libtest/Makefile config.status:1498: creating tests/unit/Makefile config.status:1498: creating packages/Makefile config.status:1498: creating packages/vms/Makefile config.status:1498: creating curl-config config.status:1498: creating libcurl.pc config.status:1498: creating lib/curl_config.h config.status:1727: executing depfiles commands config.status:1727: executing libtool commands configure:44561: Configured to build curl/libcurl: Host setup: riscv64-buildroot-linux-gnu Install prefix: /usr Compiler: /data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -pthread CPPFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 LDFLAGS: -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib LIBS: -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz curl version: 7.73.0 SSL: enabled (OpenSSL) SSH: enabled (libSSH2) zlib: enabled brotli: no (--with-brotli) zstd: no (--with-zstd) GSS-API: no (--with-gssapi) TLS-SRP: enabled resolver: POSIX threaded IPv6: enabled Unix sockets: enabled IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=no Built-in manual: no (--enable-manual) --libcurl option: no Verbose errors: no Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: no ca cert path: /etc/ssl/certs ca fallback: no LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: no (--enable-rtsp) RTMP: no (--with-librtmp) Metalink: no (--with-libmetalink) PSL: no (libpsl not found) Alt-svc: no (--enable-alt-svc) HTTP2: no (--with-nghttp2) HTTP3: no (--with-ngtcp2, --with-quiche) ECH: no (--enable-ech) Protocols: FILE FTP FTPS HTTP HTTPS MQTT SCP SFTP Features: AsynchDNS IPv6 NTLM SSL TLS-SRP UnixSockets libz ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set=set ac_cv_env_CC_value=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_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=riscv64-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-gnu ac_cv_func_OpenSSL_version=yes ac_cv_func_RAND_egd=no ac_cv_func_SSLv2_client_method=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_fnmatch=yes ac_cv_func_geteuid=yes ac_cv_func_gethostbyname=yes ac_cv_func_getpass_r=no ac_cv_func_getppid=yes ac_cv_func_getpwuid=yes ac_cv_func_getpwuid_r=yes ac_cv_func_getrlimit=yes ac_cv_func_gettimeofday=yes ac_cv_func_if_nametoindex=yes ac_cv_func_mach_absolute_time=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_pipe=yes ac_cv_func_pthread_create=no ac_cv_func_realloc_0_nonnull=yes ac_cv_func_setlocale=yes ac_cv_func_setmode=no ac_cv_func_setrlimit=yes ac_cv_func_usleep=yes ac_cv_func_utime=yes ac_cv_func_utimes=yes ac_cv_have_decl_getpwuid_r=yes ac_cv_have_decl_malloc=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_libssh2_h=yes ac_cv_header_linux_tcp_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in6_h=no ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_tcp_h=yes ac_cv_header_openssl_crypto_h=yes ac_cv_header_openssl_err_h=yes ac_cv_header_openssl_pem_h=yes ac_cv_header_openssl_rsa_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_openssl_x509_h=yes ac_cv_header_poll_h=yes ac_cv_header_proto_bsdsocket_h=no ac_cv_header_pthread_h=yes ac_cv_header_pwd_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_sgtty_h=yes ac_cv_header_signal_h=yes ac_cv_header_socket_h=no ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_stropts_h=no 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=yes 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_header_zlib_h=yes ac_cv_header_zstd_h=no ac_cv_host=riscv64-buildroot-linux-gnu ac_cv_lbl_unaligned_fail=yes ac_cv_lib_crypto_HMAC_Update=yes ac_cv_lib_crypto_SRP_Calc_client_key=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_lib_rtmp_RTMP_Init=no ac_cv_lib_ssh2_libssh2_channel_open_ex=yes ac_cv_lib_ssl_SSL_connect=yes ac_cv_lib_zstd_ZSTD_createDStream=no ac_cv_member_struct_sockaddr_un_sun_path=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_NROFF=/usr/bin/nroff ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp ac_cv_prog_OBJDUMP=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-objdump ac_cv_prog_RANLIB=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ranlib ac_cv_prog_STRIP=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_psl_builtin=no ac_cv_sizeof_curl_off_t=8 ac_cv_sizeof_int=4 ac_cv_sizeof_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=8 ac_cv_sizeof_time_t=8 ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_type_bool=yes ac_cv_type_in_addr_t=yes ac_cv_type_long_long=yes ac_cv_type_sa_family_t=yes ac_cv_type_sig_atomic_t=yes ac_cv_type_signal=void ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_struct_sockaddr_storage=yes ac_cv_type_suseconds_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes curl_cv_def_OPENSSL_VERSION_NUMBER=0x1010108fL curl_cv_def___GNUC__=8 curl_cv_func_alarm=yes curl_cv_func_basename=yes curl_cv_func_closesocket=no curl_cv_func_closesocket_camel=no curl_cv_func_connect=yes curl_cv_func_fcntl=yes curl_cv_func_fcntl_o_nonblock=yes curl_cv_func_freeaddrinfo=yes curl_cv_func_freeifaddrs=yes curl_cv_func_fsetxattr=yes curl_cv_func_ftruncate=yes curl_cv_func_gai_strerror=yes curl_cv_func_getaddrinfo=yes curl_cv_func_getaddrinfo_threadsafe=yes curl_cv_func_gethostbyaddr=yes curl_cv_func_gethostbyaddr_r=yes curl_cv_func_gethostbyname=yes curl_cv_func_gethostbyname_r=yes curl_cv_func_gethostname=yes curl_cv_func_getifaddrs=yes curl_cv_func_getpeername=yes curl_cv_func_getservbyport_r=yes curl_cv_func_getsockname=yes curl_cv_func_gmtime_r=yes curl_cv_func_if_nametoindex=yes curl_cv_func_inet_ntoa_r=no curl_cv_func_inet_ntop=yes curl_cv_func_inet_pton=yes curl_cv_func_ioctl=yes curl_cv_func_ioctl_fionbio=yes curl_cv_func_ioctl_siocgifaddr=yes curl_cv_func_ioctlsocket=no curl_cv_func_ioctlsocket_camel=no curl_cv_func_localtime_r=yes curl_cv_func_memrchr=no curl_cv_func_poll=yes curl_cv_func_recv=yes curl_cv_func_recv_args='int,void *,size_t,int,ssize_t' 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,ssize_t' curl_cv_func_setsockopt=yes curl_cv_func_setsockopt_so_nonblock=no curl_cv_func_sigaction=yes curl_cv_func_siginterrupt=yes curl_cv_func_signal=yes curl_cv_func_sigsetjmp=yes curl_cv_func_socket=yes curl_cv_func_socketpair=yes curl_cv_func_strcasecmp=yes curl_cv_func_strcmpi=no curl_cv_func_strdup=yes curl_cv_func_strerror_r=yes curl_cv_func_stricmp=no curl_cv_func_strncasecmp=yes curl_cv_func_strncmpi=no curl_cv_func_strnicmp=no curl_cv_func_strstr=yes curl_cv_func_strtok_r=yes curl_cv_func_strtoll=yes curl_cv_func_writev=yes curl_cv_gclk_LIBS= curl_cv_have_def_OPENSSL_VERSION_NUMBER=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=no curl_cv_header_winber_h=no curl_cv_header_windows_h=no curl_cv_header_winldap_h=no curl_cv_header_winsock2_h=no curl_cv_header_winsock_h=no curl_cv_header_ws2tcpip_h=no curl_cv_msg_nosignal=yes curl_cv_native_windows=no curl_cv_need_header_malloc_h=no curl_cv_recv=yes curl_cv_save_LIBS= curl_cv_select=yes curl_cv_send=yes curl_cv_sig_atomic_t_volatile=no curl_cv_struct_timeval=yes curl_cv_variadic_macros_c99=yes curl_cv_variadic_macros_gcc=yes curl_cv_writable_argv=cross gl_cv_func_malloc_0_nonnull=yes 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=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld lt_cv_path_NM=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-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][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_lib_search_path_spec= 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 lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/missing aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ar' AR_FLAGS='cr' AS='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-as' AUTOCONF='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/missing autoconf' AUTOHEADER='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/missing autoheader' AUTOMAKE='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/missing automake-1.16' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_TRUE='' BUILD_STUB_GSS_FALSE='' BUILD_STUB_GSS_TRUE='#' BUILD_UNITTESTS_FALSE='' BUILD_UNITTESTS_TRUE='#' CC='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror-implicit-function-declaration -Wno-system-headers -pthread' CFLAG_CURL_SYMBOL_HIDING='-fvisibility=hidden' CONFIGURE_OPTIONS='" '\''--target=riscv64-buildroot-linux-gnu'\'' '\''--host=riscv64-buildroot-linux-gnu'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\'' '\''--sysconfdir=/etc'\'' '\''--localstatedir=/var'\'' '\''--program-prefix='\'' '\''--disable-gtk-doc'\'' '\''--disable-gtk-doc-html'\'' '\''--disable-doc'\'' '\''--disable-docs'\'' '\''--disable-documentation'\'' '\''--with-xmlto=no'\'' '\''--with-fop=no'\'' '\''--disable-dependency-tracking'\'' '\''--enable-ipv6'\'' '\''--disable-nls'\'' '\''--disable-static'\'' '\''--enable-shared'\'' '\''--disable-manual'\'' '\''--disable-ntlm-wb'\'' '\''--enable-hidden-symbols'\'' '\''--with-random=/dev/urandom'\'' '\''--disable-curldebug'\'' '\''--disable-libcurl-option'\'' '\''--enable-threaded-resolver'\'' '\''--disable-verbose'\'' '\''--with-ssl=/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr'\'' '\''--with-ca-path=/etc/ssl/certs'\'' '\''--without-bearssl'\'' '\''--without-gnutls'\'' '\''--without-nss'\'' '\''--without-mbedtls'\'' '\''--without-wolfssl'\'' '\''--disable-ares'\'' '\''--without-libidn2'\'' '\''--with-libssh2'\'' '\''--without-brotli'\'' '\''--without-nghttp2'\'' '\''--disable-cookies'\'' '\''--disable-proxy'\'' '\''--disable-dict'\'' '\''--disable-gopher'\'' '\''--disable-imap'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--disable-pop3'\'' '\''--disable-rtsp'\'' '\''--disable-smb'\'' '\''--disable-smtp'\'' '\''--disable-telnet'\'' '\''--disable-tftp'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=riscv64-buildroot-linux-gnu'\'' '\''target_alias=riscv64-buildroot-linux-gnu'\'' '\''CC=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-gcc'\'' '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os '\'' '\''LDFLAGS='\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' '\''CPP=/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp'\''"' CPP='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPPFLAG_CURL_STATICLIB='' CROSSCOMPILING_FALSE='#' CROSSCOMPILING_TRUE='' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.73.0' CURL_CA_BUNDLE='' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='1' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_GOPHER='1' CURL_DISABLE_HTTP='' CURL_DISABLE_IMAP='1' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_MQTT='' 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='' CURL_WITH_MULTI_SSL='' CYGPATH_W='echo' DEFAULT_SSL_BACKEND='no' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DOING_CURL_SYMBOL_HIDING_FALSE='#' DOING_CURL_SYMBOL_HIDING_TRUE='' DOING_NATIVE_WINDOWS_FALSE='' DOING_NATIVE_WINDOWS_TRUE='#' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='no' EXEEXT='' FGREP='/usr/bin/grep -F' FISH_FUNCTIONS_DIR='${prefix}/share/fish/vendor_completions.d' GCOV='' GREP='/usr/bin/grep' HAVE_BROTLI='' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='' HAVE_LIBZ='1' HAVE_LIBZ_FALSE='#' HAVE_LIBZ_TRUE='' HAVE_OPENSSL_SRP='1' HAVE_PROTO_BSDSOCKET_H='' HAVE_ZSTD='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LCOV='' LD='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ld' LDFLAGS='-L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib' LIBCURL_LIBS='-lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz' LIBCURL_NO_SHARED='' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='-lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lssh2 -L/data/buildroot-test/instance-1/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/data/buildroot-test/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib -lgcrypt -lgpg-error -lssl -lcrypto -lssl -lcrypto -lz' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/missing makeinfo' MANIFEST_TOOL=':' MANOPT='-man' MKDIR_P='/usr/bin/mkdir -p' NM='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-nm' NMEDIT='' NROFF='/usr/bin/nroff' NSS_LIBS='' OBJDUMP='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-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='/usr/bin/perl' PKGADD_NAME='curl - a client that groks URLs' PKGADD_PKG='HAXXcurl' PKGADD_VENDOR='curl.haxx.se' PKGCONFIG='no' RANDOM_FILE='/dev/urandom' RANLIB='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-ranlib' REQUIRE_LIB_DEPS='no' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' SSL_BACKENDS='OpenSSL' SSL_ENABLED='1' SSL_LIBS='-lssl -lcrypto ' STRIP='/data/buildroot-test/instance-1/output-1/host/bin/riscv64-linux-strip' SUPPORT_FEATURES='AsynchDNS IPv6 NTLM SSL TLS-SRP UnixSockets libz' SUPPORT_PROTOCOLS='FILE FTP FTPS HTTP HTTPS MQTT SCP SFTP' USE_ARES='' USE_BEARSSL='' USE_CPPFLAG_CURL_STATICLIB_FALSE='' USE_CPPFLAG_CURL_STATICLIB_TRUE='#' USE_EMBEDDED_ARES_FALSE='' USE_EMBEDDED_ARES_TRUE='#' USE_EXPLICIT_LIB_DEPS_FALSE='' USE_EXPLICIT_LIB_DEPS_TRUE='#' USE_GNUTLS='' USE_GNUTLS_NETTLE='' USE_LIBPSL_FALSE='' USE_LIBPSL_TRUE='#' USE_LIBRTMP='' USE_LIBSSH2='1' USE_LIBSSH='' USE_MANUAL_FALSE='' USE_MANUAL_TRUE='#' USE_MBEDTLS='' USE_MESALINK='' USE_NGHTTP2='' USE_NGHTTP3='' USE_NGTCP2='' USE_NGTCP2_CRYPTO_GNUTLS='' USE_NGTCP2_CRYPTO_OPENSSL='' USE_NSS='' USE_OPENLDAP='' USE_QUICHE='' USE_SCHANNEL='' USE_SECTRANSP='' USE_UNIX_SOCKETS='1' USE_WINDOWS_SSPI='' USE_WOLFSSH='' USE_WOLFSSL='' VERSION='-' VERSIONNUM='074900' ZLIB_LIBS='-lz' 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='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/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='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-gnu' host_alias='riscv64-buildroot-linux-gnu' host_cpu='riscv64' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /data/buildroot-test/instance-1/output-1/build/libcurl-7.73.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libext='a' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-gnu' ## ----------- ## ## 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 "riscv64-buildroot-linux-gnu" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_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_ZLIB_H 1 #define HAVE_LIBZ 1 #define ENABLE_IPV6 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_LIBSSL 1 #define HAVE_OPENSSL_X509_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_RSA_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_CRYPTO_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_PEM_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_SSL_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_ERR_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_VERSION 1 #define RANDOM_FILE "/dev/urandom" #define HAVE_OPENSSL_SRP 1 #define CURL_CA_PATH "/etc/ssl/certs" #define HAVE_LIBSSH2 1 #define HAVE_LIBSSH2_H 1 #define USE_LIBSSH2 1 #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_LINUX_TCP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_TERMIO_H 1 #define HAVE_SGTTY_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 8 #define SIZEOF_LONG 8 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define SIZEOF_TIME_T 8 #define SIZEOF_OFF_T 8 #define SIZEOF_CURL_OFF_T 8 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define CURL_SA_FAMILY_T sa_family_t #define HAVE_SUSECONDS_T 1 #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 ssize_t #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 ssize_t #define SEND_QUAL_ARG2 const #define SEND_TYPE_ARG2 void * #define HAVE_SEND 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_MSG_NOSIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ALARM 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_BASENAME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_CONNECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FCNTL 1 #define HAVE_FCNTL_O_NONBLOCK 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_NETDB_H 1 #define HAVE_FREEADDRINFO 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_FREEIFADDRS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_FSETXATTR 1 #define HAVE_FSETXATTR_5 1 #define HAVE_FTRUNCATE 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDLIB_H 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETADDRINFO_THREADSAFE 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_GETHOSTBYADDR_R 1 #define HAVE_GETHOSTBYADDR_R_8 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYNAME_R 1 #define HAVE_GETHOSTBYNAME_R_6 1 #define GETHOSTNAME_TYPE_ARG2 size_t #define HAVE_GETHOSTNAME 1 #define HAVE_GETPEERNAME 1 #define HAVE_GETSOCKNAME 1 #define HAVE_NET_IF_H 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_GETIFADDRS 1 #define HAVE_GETSERVBYPORT_R 1 #define GETSERVBYPORT_R_ARGS 6 #define GETSERVBYPORT_R_BUFSIZE 4096 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_GMTIME_R 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_IOCTL 1 #define HAVE_IOCTL_FIONBIO 1 #define HAVE_IOCTL_SIOCGIFADDR 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_POLL_FINE 1 #define HAVE_SETSOCKOPT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGACTION 1 #define HAVE_SIGINTERRUPT 1 #define HAVE_SIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGSETJMP 1 #define HAVE_SOCKET 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR_R 1 #define HAVE_POSIX_STRERROR_R 1 #define STRERROR_R_TYPE_ARG3 size_t #define HAVE_STRNCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOLL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_DECL_GETPWUID_R 1 #define HAVE_FNMATCH 1 #define HAVE_GETEUID 1 #define HAVE_GETPPID 1 #define HAVE_GETPWUID 1 #define HAVE_GETPWUID_R 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_PIPE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_USLEEP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_PTHREAD_H 1 #define USE_THREADS_POSIX 1 #define CURL_DISABLE_VERBOSE_STRINGS 1 #define USE_TLS_SRP 1 #define USE_UNIX_SOCKETS 1 #define CURL_DISABLE_COOKIES 1 #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) configure: exit 0