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 --enable-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 --enable-verbose --with-ssl=/srv/storage/autobuild/run/instance-0/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 --enable-ares --without-libidn2 --without-libssh2 --without-brotli --without-nghttp2 --without-gsasl --disable-cookies --enable-proxy --enable-dict --enable-gopher --enable-imap --enable-ldap --enable-ldaps --enable-pop3 --enable-rtsp --enable-smb --enable-smtp --enable-telnet --enable-tftp ## --------- ## ## Platform. ## ## --------- ## hostname = USE241J4NT uname -m = x86_64 uname -r = 4.19.0-14-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.19.171-2 (2021-01-30) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /srv/storage/autobuild/run/instance-0/output-1/host/bin PATH: /srv/storage/autobuild/run/instance-0/output-1/host/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:3092: checking whether to enable maintainer-specific portions of Makefiles configure:3101: result: no configure:3125: checking whether make supports nested variables configure:3142: result: yes configure:3155: checking whether to enable debug build options configure:3177: result: no configure:3181: checking whether to enable compiler optimizer configure:3202: result: (assumed) yes configure:3214: checking whether to enable strict compiler warnings configure:3233: result: no configure:3237: checking whether to enable compiler warnings as errors configure:3256: result: no configure:3260: checking whether to enable curl debug memory tracking configure:3271: result: no configure:3299: checking whether to enable hiding of library internal symbols configure:3325: result: yes configure:3331: checking whether to enable c-ares for DNS lookups configure:3353: result: yes configure:3357: checking whether to disable dependency on -lrt configure:3373: result: (assumed no) configure:3384: checking whether to enable ECH support configure:3402: result: no configure:3433: checking for path separator configure:3435: result: : configure:3455: checking for sed configure:3474: found /usr/bin/sed configure:3487: result: /usr/bin/sed configure:3504: checking for grep configure:3523: found /usr/bin/grep configure:3536: result: /usr/bin/grep configure:3552: checking for egrep configure:3555: result: /usr/bin/grep -E configure:3850: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 configure:3856: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:3856: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:3856: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:3856: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:3887: WARNING: Continuing even with errors mentioned immediately above this line. configure:3934: checking for a BSD-compatible install configure:4002: result: /usr/bin/install -c configure:4024: checking for riscv64-buildroot-linux-gnu-gcc configure:4051: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc configure:4320: checking for C compiler version configure:4329: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:4340: $? = 0 configure:4329: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--glibc--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ LIBRARY_PATH=/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/lib/:/srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib/:/srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4340: $? = 1 configure:4329: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:4340: $? = 1 configure:4329: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:4340: $? = 1 configure:4359: checking whether the C compiler works configure:4381: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4385: $? = 0 configure:4433: result: yes configure:4436: checking for C compiler default output file name configure:4438: result: a.out configure:4444: checking for suffix of executables configure:4451: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4455: $? = 0 configure:4477: result: configure:4498: checking whether we are cross compiling configure:4536: result: yes configure:4541: checking for suffix of object files configure:4562: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4566: $? = 0 configure:4587: result: o configure:4591: checking whether we are using the GNU C compiler configure:4609: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4609: $? = 0 configure:4618: result: yes configure:4627: checking whether /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g configure:4646: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4646: $? = 0 configure:4685: result: yes configure:4702: checking for /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:4764: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4764: $? = 0 configure:4777: result: none needed configure:4802: checking whether /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:4823: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4826: $? = 0 configure:4823: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4826: $? = 0 configure:4838: result: yes configure:4861: checking how to run the C preprocessor configure:4931: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp configure:4951: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4951: $? = 0 configure:4965: /srv/storage/autobuild/run/instance-0/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 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4965: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:5005: checking for a sed that does not truncate output configure:5069: result: /usr/bin/sed configure:5077: checking for code coverage support configure:5091: result: no configure:5241: checking whether build environment is sane configure:5296: result: yes configure:5345: checking for riscv64-buildroot-linux-gnu-strip configure:5372: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-strip configure:5437: checking for a thread-safe mkdir -p configure:5476: result: /usr/bin/mkdir -p configure:5483: checking for gawk configure:5499: found /usr/bin/gawk configure:5510: result: gawk configure:5521: checking whether make sets $(MAKE) configure:5543: result: yes configure:5565: checking whether make supports the include directive configure:5580: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1' make[1]: Leaving directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1' this is the am__doit target configure:5583: $? = 0 configure:5602: result: yes (GNU style) configure:5702: checking dependency style of /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc configure:5813: result: none configure:5876: checking curl version configure:5878: result: 7.76.1 configure:5931: checking build system type configure:5945: result: x86_64-pc-linux-gnu configure:5965: checking host system type configure:5978: result: riscv64-buildroot-linux-gnu configure:6010: checking for grep that handles long lines and -e configure:6068: result: /usr/bin/grep configure:6073: checking for egrep configure:6135: result: /usr/bin/grep -E configure:6142: checking if OS is AIX (to define _ALL_SOURCE) configure:6162: result: no configure:6172: checking if _THREAD_SAFE is already defined configure:6193: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -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' 21 | force compilation error | ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 21 | force compilation error | ^~~~~ configure:6193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:6201: result: no configure:6209: checking if _THREAD_SAFE is actually needed configure:6228: result: no configure:6233: checking if _THREAD_SAFE is onwards defined configure:6250: result: no configure:6257: checking if _REENTRANT is already defined configure:6278: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -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' 21 | force compilation error | ^~~~~ conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 21 | force compilation error | ^~~~~ configure:6278: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:6286: result: no configure:6294: checking if _REENTRANT is actually needed configure:6325: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6325: $? = 0 configure:6356: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6356: $? = 0 configure:6427: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6427: $? = 0 configure:6506: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6506: $? = 0 configure:6585: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6585: $? = 0 configure:6664: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6664: $? = 0 configure:6743: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccAATlwN.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:6743: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:6826: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6826: $? = 0 configure:6905: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6905: $? = 0 configure:6984: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6984: $? = 0 configure:7063: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7063: $? = 0 configure:7119: result: no configure:7124: checking if _REENTRANT is onwards defined configure:7141: result: no configure:7154: checking for special C compiler options needed for large files configure:7198: result: no configure:7204: checking for _FILE_OFFSET_BITS value needed for large files configure:7228: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7228: $? = 0 configure:7259: result: no configure:7389: checking how to print strings configure:7416: result: printf configure:7437: checking for a sed that does not truncate output configure:7501: result: /usr/bin/sed configure:7519: checking for fgrep configure:7581: result: /usr/bin/grep -F configure:7616: checking for ld used by /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc configure:7683: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld configure:7690: checking if the linker (/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld) is GNU ld configure:7705: result: yes configure:7717: checking for BSD- or MS-compatible name lister (nm) configure:7771: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-nm configure:7901: checking the name lister (/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-nm) interface configure:7908: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7911: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-nm "conftest.o" configure:7914: output 0000000000000000 B some_variable configure:7915: result: BSD nm configure:7918: checking whether ln -s works configure:7922: result: yes configure:7930: checking the maximum length of command line arguments configure:8061: result: 1572864 configure:8109: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-gnu format configure:8149: result: func_convert_file_noop configure:8156: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8176: result: func_convert_file_noop configure:8183: checking for /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld option to reload object files configure:8190: result: -r configure:8224: checking for riscv64-buildroot-linux-gnu-objdump configure:8251: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-objdump configure:8320: checking how to recognize dependent libraries configure:8520: result: pass_all configure:8565: checking for riscv64-buildroot-linux-gnu-dlltool configure:8595: result: no configure:8605: checking for dlltool configure:8635: result: no configure:8662: checking how to associate runtime and link libraries configure:8689: result: printf %s\n configure:8705: checking for riscv64-buildroot-linux-gnu-ar configure:8732: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar configure:8813: checking for archiver @FILE support configure:8829: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8829: $? = 0 configure:8832: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar cr libconftest.a @conftest.lst >&5 configure:8835: $? = 0 configure:8840: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar cr libconftest.a @conftest.lst >&5 /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar: conftest.o: No such file or directory configure:8843: $? = 1 configure:8842: result: @ configure:8860: checking for riscv64-buildroot-linux-gnu-strip configure:8887: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-strip configure:8959: checking for riscv64-buildroot-linux-gnu-ranlib configure:8986: result: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ranlib configure:9128: checking command to parse /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-nm output from /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc object configure:9281: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9284: $? = 0 configure:9288: /srv/storage/autobuild/run/instance-0/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:9354: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:9357: $? = 0 configure:9395: result: ok configure:9442: checking for sysroot configure:9472: result: no configure:9479: checking for a working dd configure:9517: result: /usr/bin/dd configure:9521: checking how to truncate binary pipes configure:9536: result: /usr/bin/dd bs=4096 count=1 configure:9824: checking for riscv64-buildroot-linux-gnu-mt configure:9854: result: no configure:9864: checking for mt configure:9880: found /usr/bin/mt configure:9891: result: mt configure:9903: WARNING: using cross tools not prefixed with host triplet configure:9914: checking if mt is a manifest tool configure:9920: mt '-?' configure:9928: result: no configure:10599: checking for ANSI C header files configure:10618: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10618: $? = 0 configure:10702: result: yes configure:10715: checking for sys/types.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for sys/stat.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for stdlib.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for string.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for memory.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for strings.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for inttypes.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for stdint.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10715: checking for unistd.h configure:10715: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10715: $? = 0 configure:10715: result: yes configure:10729: checking for dlfcn.h configure:10729: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10729: $? = 0 configure:10729: result: yes configure:11390: checking for objdir configure:11405: result: .libs configure:11669: checking if /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions configure:11687: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -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++/D/ObjC++ but not for C configure:11691: $? = 0 configure:11704: result: no configure:12068: checking for /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc option to produce PIC configure:12075: result: -fPIC -DPIC configure:12083: checking if /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works configure:12101: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:12105: $? = 0 configure:12118: result: yes configure:12147: checking if /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc static flag -static works configure:12175: result: yes configure:12190: checking if /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:12211: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:12215: $? = 0 configure:12237: result: yes configure:12245: checking if /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:12292: result: yes configure:12325: checking whether the /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc linker (/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld) supports shared libraries configure:13586: result: yes configure:13623: checking whether -lc should be explicitly linked in configure:13631: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13634: $? = 0 configure:13649: /srv/storage/autobuild/run/instance-0/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:13652: $? = 0 configure:13666: result: no configure:13826: checking dynamic linker characteristics configure:14406: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14406: $? = 0 configure:14655: result: GNU/Linux ld.so configure:14777: checking how to hardcode library paths into programs configure:14802: result: immediate configure:15335: checking whether stripping libraries is possible configure:15340: result: yes configure:15375: checking if libtool supports shared libraries configure:15377: result: yes configure:15380: checking whether to build shared libraries configure:15405: result: yes configure:15408: checking whether to build static libraries configure:15412: result: no configure:12277: checking whether to build shared libraries with -version-info configure:12288: result: yes configure:12295: checking whether to build shared libraries with -no-undefined configure:12308: result: no configure:12315: checking whether to build shared libraries with -mimpure-text configure:12325: result: no configure:12352: checking whether to build shared libraries with PIC configure:12354: result: yes configure:12356: checking whether to build static libraries with PIC configure:12358: result: no configure:12365: checking whether to build shared libraries only configure:12373: result: yes configure:12380: checking whether to build static libraries only configure:12388: result: no configure:12478: checking for inline configure:12494: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12494: $? = 0 configure:12502: result: inline configure:12523: checking if cpp -P is needed configure:12540: result: yes configure:12544: checking if cpp -P works configure:12563: result: yes configure:12596: checking if compiler is DEC/Compaq/HP C configure:12620: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12620: $? = 0 configure:12664: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12664: $? = 0 configure:12698: result: no configure:12703: checking if compiler is HP-UX C configure:12727: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12727: $? = 0 configure:12760: result: no configure:12765: checking if compiler is IBM C configure:12789: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12789: $? = 0 configure:12830: result: no configure:12835: checking if compiler is Intel C configure:12859: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12859: $? = 0 configure:12954: result: no configure:12959: checking if compiler is clang configure:12983: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:12983: $? = 0 configure:13089: result: no configure:13094: checking if compiler is GNU C configure:13118: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13118: $? = 0 configure:13142: result: yes configure:13184: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13184: $? = 0 configure:13212: checking if compiler is LCC configure:13236: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13236: $? = 0 configure:13269: result: no configure:13274: checking if compiler is SGI MIPSpro C configure:13298: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13298: $? = 0 configure:13342: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13342: $? = 0 configure:13386: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13386: $? = 0 configure:13421: result: no configure:13426: checking if compiler is SGI MIPS C configure:13450: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13450: $? = 0 configure:13494: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13494: $? = 0 configure:13529: result: no configure:13534: checking if compiler is SunPro C configure:13558: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13558: $? = 0 configure:13591: result: no configure:13596: checking if compiler is Tiny C configure:13620: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13620: $? = 0 configure:13653: result: no configure:13658: checking if compiler is Watcom C configure:13682: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:13682: $? = 0 configure:13769: result: no configure:13902: checking if compiler accepts some basic options configure:13926: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13926: $? = 0 configure:13956: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13956: $? = 0 configure:14021: result: yes configure:14023: compiler options added: -Werror-implicit-function-declaration configure:14090: checking if compiler accepts debug disabling options configure:14122: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14122: $? = 0 configure:14152: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14152: $? = 0 configure:14217: result: yes configure:14219: compiler options added: configure:14251: checking if compiler optimizer assumed setting might be used configure:14289: result: no configure:15781: checking if compiler accepts strict warning options configure:15805: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15805: $? = 0 configure:15835: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15835: $? = 0 configure:15900: result: yes configure:15902: compiler options added: -Wno-system-headers -Wenum-conversion configure:15943: checking if compiler halts on compilation errors configure:15960: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -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' 30 | force compilation error | ^~~~~ conftest.c:30:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 30 | force compilation error | ^~~~~ configure:15960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:15968: result: yes configure:15975: checking if compiler halts on negative sized arrays configure:15993: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -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 26 | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; | ^~~~~ configure:15993: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:16001: result: yes configure:16008: checking if compiler halts on function prototype mismatch configure:16037: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:27:11: error: conflicting types for 'rand' 27 | int rand(int n); | ^~~~ In file included from conftest.c:26: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here 453 | extern int rand (void) __THROW; | ^~~~ conftest.c:28:11: error: conflicting types for 'rand' 28 | int rand(int n) | ^~~~ In file included from conftest.c:26: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here 453 | extern int rand (void) __THROW; | ^~~~ configure:16037: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:16045: result: yes configure:16052: checking if compiler supports hiding library internal symbols configure:16174: result: no configure:16273: checking for windows.h configure:16303: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -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 30 | #include | ^~~~~~~~~~~ compilation terminated. configure:16303: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:16315: result: no configure:16328: checking whether build target is a native Windows one configure:16370: result: no configure:16735: checking whether build target supports WIN32 file API configure:16820: result: no configure:16826: checking whether build target supports WIN32 crypto API configure:16875: result: no configure:16890: checking for good-to-use Darwin CFLAGS configure:16892: result: no configure:16923: checking to see if the compiler supports __builtin_available() configure:16941: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -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] 31 | if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} | ^~~~~~~~~~~~~~~~~~~ | __builtin_scalbl conftest.c:31:31: error: 'macOS' undeclared (first use in this function) 31 | 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 31 | if (__builtin_available(macOS 10.8, iOS 5.0, *)) {} | ^~~~~ | ) cc1: some warnings being treated as errors configure:16941: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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:16953: result: no configure:16961: checking whether to support http configure:16994: result: yes configure:16999: checking whether to support ftp configure:17018: result: yes configure:17023: checking whether to support file configure:17042: result: yes configure:17047: checking whether to support ldap configure:17062: result: yes configure:17073: checking whether to support ldaps configure:17096: result: yes configure:17129: checking whether to support rtsp configure:17146: result: yes configure:17165: checking whether to support proxies configure:17180: result: yes configure:17191: checking whether to support dict configure:17205: result: yes configure:17215: checking whether to support telnet configure:17229: result: yes configure:17239: checking whether to support tftp configure:17253: result: yes configure:17264: checking whether to support pop3 configure:17278: result: yes configure:17290: checking whether to support imap configure:17304: result: yes configure:17316: checking whether to support smb configure:17330: result: yes configure:17341: checking whether to support smtp configure:17355: result: yes configure:17366: checking whether to support gopher configure:17380: result: yes configure:17391: checking whether to support mqtt configure:17410: result: no configure:17417: checking whether to provide built-in manual configure:17423: result: no configure:17439: checking whether to enable generation of C code configure:17445: result: no configure:17464: checking whether to use libgcc configure:17479: result: no configure:17486: checking if X/Open network library is required configure:17506: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:35:3: error: unknown type name 'force' 35 | force compilation error | ^~~~~ conftest.c:35:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 35 | force compilation error | ^~~~~ conftest.c:37:1: error: expected declaration or statement at end of input 37 | } | ^ configure:17506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 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:17513: result: no configure:17517: checking for gethostbyname configure:17517: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17517: $? = 0 configure:17517: result: yes configure:17986: checking for windows.h configure:18028: result: no configure:18041: checking for winsock.h configure:18084: result: no configure:18097: checking for winsock2.h configure:18140: result: no configure:18163: checking for proto/bsdsocket.h configure:18163: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:33:10: fatal error: proto/bsdsocket.h: No such file or directory 33 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:18163: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 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:18163: result: no configure:18176: checking for connect in libraries configure:18204: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18204: $? = 0 configure:18222: result: yes configure:18239: checking for sys/types.h configure:18239: result: yes configure:18239: checking sys/time.h usability configure:18239: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18239: $? = 0 configure:18239: result: yes configure:18239: checking sys/time.h presence configure:18239: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:18239: $? = 0 configure:18239: result: yes configure:18239: checking for sys/time.h configure:18239: result: yes configure:18249: checking for monotonic clock_gettime configure:18276: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18276: $? = 0 configure:18278: result: yes configure:18296: checking for clock_gettime in libraries configure:18332: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18332: $? = 0 configure:18353: result: no additional lib required configure:18578: checking for zlib options with pkg-config configure:18592: result: found configure:18657: checking zlib.h usability configure:18657: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18657: $? = 0 configure:18657: result: yes configure:18657: checking zlib.h presence configure:18657: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:18657: $? = 0 configure:18657: result: yes configure:18657: checking for zlib.h configure:18657: result: yes configure:18745: found both libz and libz.h header configure:19187: checking for ZSTD_createDStream in -lzstd configure:19209: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lzstd -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lzstd collect2: error: ld returned 1 exit status configure:19209: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:19218: result: no configure:19232: checking zstd.h usability configure:19232: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:64:10: fatal error: zstd.h: No such file or directory 64 | #include | ^~~~~~~~ compilation terminated. configure:19232: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:19232: result: no configure:19232: checking zstd.h presence configure:19232: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:31:10: fatal error: zstd.h: No such file or directory 31 | #include | ^~~~~~~~ compilation terminated. configure:19232: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | #include configure:19232: result: no configure:19232: checking for zstd.h configure:19232: result: no configure:19292: checking for lber.h configure:19330: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:47:10: fatal error: lber.h: No such file or directory 47 | #include | ^~~~~~~~ compilation terminated. configure:19330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #include | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19342: result: no configure:19409: checking for ldap.h configure:19449: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:50:10: fatal error: ldap.h: No such file or directory 50 | #include | ^~~~~~~~ compilation terminated. configure:19449: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #include | | int main (void) | { | | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | | ; | return 0; | } | configure:19461: result: no configure:19474: checking for ldapssl.h configure:19520: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:56:10: fatal error: ldapssl.h: No such file or directory 56 | #include | ^~~~~~~~~~~ compilation terminated. configure:19520: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | #include | | int main (void) | { | | char *cert_label = NULL; | LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label); | | ; | return 0; | } | configure:19532: result: no configure:19545: checking for ldap_ssl.h configure:19587: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:53:10: fatal error: ldap_ssl.h: No such file or directory 53 | #include | ^~~~~~~~~~~~ compilation terminated. configure:19587: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | #include | | int main (void) | { | | LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1); | | ; | return 0; | } | configure:19599: result: no configure:19681: checking for LDAP libraries configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lldap -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lldap -llber -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -llber -lldap -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lldapssl -lldapx -lldapsdk -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lldapsdk -lldapx -lldapssl -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19747: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lldap -llber -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:60:11: error: unknown type name 'BerValue' 60 | BerValue *bvp = NULL; | ^~~~~~~~ conftest.c:61:11: error: unknown type name 'BerElement' 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~~~ conftest.c:61:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] 61 | BerElement *bep = ber_init(bvp); | ^~~~~~~~ conftest.c:61:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:62:11: error: unknown type name 'LDAP' 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~ conftest.c:62:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: error: 'LDAP_PORT' undeclared (first use in this function) 62 | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | ^~~~~~~~~ conftest.c:62:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:63:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] 63 | int res = ldap_unbind(ldp); | ^~~~~~~~~~~ conftest.c:64:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] 64 | ber_free(bep, 1); | ^~~~~~~~ cc1: some warnings being treated as errors configure:19747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:19761: result: cannot find LDAP libraries configure:19782: WARNING: Cannot find libraries for LDAP support: LDAP disabled configure:19901: checking whether to enable IPv6 configure:19911: result: yes configure:19975: checking if struct sockaddr_in6 has sin6_scope_id member configure:20001: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20001: $? = 0 configure:20003: result: yes configure:20019: checking if argv can be written to configure:20066: result: no configure:20068: WARNING: the previous check could not be made default was used configure:20112: checking if GSS-API support is requested configure:20243: result: no configure:20355: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:20379: result: no configure:20407: checking whether to enable Secure Transport configure:20424: result: no configure:20441: checking whether to enable Amiga native SSL/TLS (AmiSSL) configure:20469: result: no configure:20542: PKG_CONFIG_LIBDIR will be set to "/srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig" configure:20667: checking for openssl options with pkg-config configure:20681: result: found configure:20710: pkg-config: SSL_LIBS: "-lssl -lcrypto " configure:20712: pkg-config: SSL_LDFLAGS: "-L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib " configure:20714: pkg-config: SSL_CPPFLAGS: "" configure:20726: checking for HMAC_Update in -lcrypto configure:20748: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lz >&5 configure:20748: $? = 0 configure:20757: result: yes configure:20894: checking for SSL_connect in -lssl configure:20916: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:20916: $? = 0 configure:20925: result: yes configure:20999: checking openssl/x509.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/x509.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/x509.h configure:20999: result: yes configure:20999: checking openssl/rsa.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/rsa.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/rsa.h configure:20999: result: yes configure:20999: checking openssl/crypto.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/crypto.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/crypto.h configure:20999: result: yes configure:20999: checking openssl/pem.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/pem.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/pem.h configure:20999: result: yes configure:20999: checking openssl/ssl.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/ssl.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/ssl.h configure:20999: result: yes configure:20999: checking openssl/err.h usability configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking openssl/err.h presence configure:20999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:20999: $? = 0 configure:20999: result: yes configure:20999: checking for openssl/err.h configure:20999: result: yes configure:21056: checking for RAND_egd configure:21056: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccby7XTT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `RAND_egd' collect2: error: ld returned 1 exit status configure:21056: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:21056: result: no configure:21056: checking for SSLv2_client_method configure:21056: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccHlKSt3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `SSLv2_client_method' collect2: error: ld returned 1 exit status configure:21056: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:21056: result: no configure:21056: checking for OpenSSL_version configure:21056: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:21056: $? = 0 configure:21056: result: yes configure:21066: checking for BoringSSL configure:21086: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:51:26: fatal error: openssl/base.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:21086: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:21099: result: no configure:21105: checking for libressl configure:21123: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:21: error: 'LIBRESSL_VERSION_NUMBER' undeclared (first use in this function); did you mean 'OPENSSL_VERSION_NUMBER'? 56 | int dummy = LIBRESSL_VERSION_NUMBER; | ^~~~~~~~~~~~~~~~~~~~~~~ | OPENSSL_VERSION_NUMBER conftest.c:56:21: note: each undeclared identifier is reported only once for each function it appears in configure:21123: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:21136: result: no configure:21142: checking for OpenSSL >= v3 configure:21164: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:59:10: error: #error older than 3 59 | #error older than 3 | ^~~~~ configure:21164: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:21178: result: no configure:21200: checking for OpenSSL headers version configure:21230: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:21230: $? = 0 configure:21292: result: 1.1.1 - 0x101010bfL configure:21301: checking for OpenSSL library version configure:21331: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:21331: $? = 0 configure:21828: result: 1.1.1 configure:21836: checking for OpenSSL headers and library versions matching configure:21846: result: yes configure:21933: checking for SRP_Calc_client_key in -lcrypto configure:21955: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:21955: $? = 0 configure:21964: result: yes configure:23859: built with one SSL backend configure:23901: checking default CA cert bundle/path configure:24023: result: /etc/ssl/certs (capath) configure:24031: checking whether to use builtin CA store of SSL library configure:24045: result: no configure:24070: checking for library containing psl_builtin configure:24098: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc8A5nHQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `psl_builtin' collect2: error: ld returned 1 exit status configure:24098: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:24098: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lpsl -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lpsl collect2: error: ld returned 1 exit status configure:24098: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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:24115: result: no configure:24127: WARNING: libpsl was not found configure:24154: checking for library containing gsasl_init configure:24182: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc72ZTX8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gsasl_init' collect2: error: ld returned 1 exit status configure:24182: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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 gsasl_init (); | int main (void) | { | return gsasl_init (); | ; | return 0; | } configure:24182: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lgsasl -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lgsasl collect2: error: ld returned 1 exit status configure:24182: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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 gsasl_init (); | int main (void) | { | return gsasl_init (); | ; | return 0; | } configure:24199: result: no configure:24211: WARNING: libgsasl was not found configure:25377: checking for RTMP_Init in -lrtmp configure:25399: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lrtmp /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lrtmp collect2: error: ld returned 1 exit status configure:25399: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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 RTMP_Init (); | int main (void) | { | return RTMP_Init (); | ; | return 0; | } configure:25408: result: no configure:25449: checking whether versioned symbols are wanted configure:25495: result: no configure:25514: checking whether to enable Windows native IDN (Windows native builds only) configure:25526: result: no configure:25614: checking whether to build with libidn2 configure:25626: result: no configure:26463: checking for libngtcp2 options with pkg-config configure:26474: result: no configure:28047: checking for fish options with pkg-config configure:28058: result: no configure:28080: checking for malloc.h configure:28105: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28105: $? = 0 configure:28117: result: yes configure:28145: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28145: $? = 0 configure:28168: checking for memory.h configure:28193: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:19: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 60 | void *p = malloc(10); | ^~~~~~ conftest.c:60:19: warning: incompatible implicit declaration of built-in function 'malloc' conftest.c:56:1: note: include '' or provide a declaration of 'malloc' 55 | #include 56 | conftest.c:61:19: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 61 | void *q = calloc(10,10); | ^~~~~~ conftest.c:61:19: warning: incompatible implicit declaration of built-in function 'calloc' conftest.c:61:19: note: include '' or provide a declaration of 'calloc' conftest.c:62:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 62 | free(p); | ^~~~ conftest.c:62:9: warning: incompatible implicit declaration of built-in function 'free' conftest.c:62:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors configure:28193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_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:28205: result: no configure:28299: checking for sys/types.h configure:28299: result: yes configure:28299: checking for sys/time.h configure:28299: result: yes configure:28299: checking for sys/select.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/socket.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/ioctl.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/uio.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for assert.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for unistd.h configure:28299: result: yes configure:28299: checking for stdlib.h configure:28299: result: yes configure:28299: checking for arpa/inet.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for net/if.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for netinet/in.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for netinet/in6.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:92:10: fatal error: netinet/in6.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 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:28299: result: no configure:28299: checking for sys/un.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for linux/tcp.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for netinet/tcp.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for netdb.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/sockio.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:96:10: fatal error: sys/sockio.h: No such file or directory 96 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 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:28299: result: no configure:28299: checking for sys/stat.h configure:28299: result: yes configure:28299: checking for sys/param.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for termios.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for termio.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sgtty.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for fcntl.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for alloca.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for io.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:103:10: fatal error: io.h: No such file or directory 103 | #include | ^~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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 | /* 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:28299: result: no configure:28299: checking for pwd.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for utime.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/utime.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:105:10: fatal error: sys/utime.h: No such file or directory 105 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_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:28299: result: no configure:28299: checking for sys/poll.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for poll.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for socket.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:107:10: fatal error: socket.h: No such file or directory 107 | #include | ^~~~~~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_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:28299: result: no configure:28299: checking for sys/resource.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for libgen.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for locale.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for errno.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for stdbool.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for arpa/tftp.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for sys/filio.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:113:10: fatal error: sys/filio.h: No such file or directory 113 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:28299: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_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:28299: result: no configure:28299: checking for sys/wait.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28299: checking for setjmp.h configure:28299: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28299: $? = 0 configure:28299: result: yes configure:28337: checking for an ANSI C-conforming const configure:28402: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28402: $? = 0 configure:28409: result: yes configure:28418: checking for compiler support of C99 variadic macro style configure:28448: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28448: $? = 0 configure:28460: result: yes configure:28471: checking for compiler support of old gcc variadic macro style configure:28501: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28501: $? = 0 configure:28513: result: yes configure:28525: checking for size_t configure:28525: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28525: $? = 0 configure:28525: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:125:21: error: expected expression before ')' token 125 | if (sizeof ((size_t))) | ^ configure:28525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 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:28525: result: yes configure:28541: checking for sys/types.h configure:28541: result: yes configure:28541: checking for sys/time.h configure:28541: result: yes configure:28541: checking for sys/socket.h configure:28541: result: yes configure:28551: checking for struct timeval configure:28598: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28598: $? = 0 configure:28610: result: yes configure:28666: checking size of size_t configure:28685: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:100:20: error: duplicate case value 100 | switch (0) case 0: case (sizeof (size_t) == 4):; | ^~~~ conftest.c:100:12: note: previously used here 100 | switch (0) case 0: case (sizeof (size_t) == 4):; | ^~~~ configure:28685: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28685: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28685: $? = 0 configure:28697: result: 8 configure:28705: checking size of long configure:28724: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:101:20: error: duplicate case value 101 | switch (0) case 0: case (sizeof (long) == 4):; | ^~~~ conftest.c:101:12: note: previously used here 101 | switch (0) case 0: case (sizeof (long) == 4):; | ^~~~ configure:28724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28724: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28724: $? = 0 configure:28736: result: 8 configure:28744: checking size of int configure:28763: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28763: $? = 0 configure:28775: result: 4 configure:28783: checking size of short configure:28802: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:103:20: error: duplicate case value 103 | switch (0) case 0: case (sizeof (short) == 4):; | ^~~~ conftest.c:103:12: note: previously used here 103 | switch (0) case 0: case (sizeof (short) == 4):; | ^~~~ configure:28802: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28802: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:103:20: error: duplicate case value 103 | switch (0) case 0: case (sizeof (short) == 8):; | ^~~~ conftest.c:103:12: note: previously used here 103 | switch (0) case 0: case (sizeof (short) == 8):; | ^~~~ configure:28802: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28802: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:103:20: error: duplicate case value 103 | switch (0) case 0: case (sizeof (short) == 1):; | ^~~~ conftest.c:103:12: note: previously used here 103 | switch (0) case 0: case (sizeof (short) == 1):; | ^~~~ configure:28802: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28802: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28802: $? = 0 configure:28814: result: 2 configure:28822: checking size of time_t configure:28841: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:104:20: error: duplicate case value 104 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ conftest.c:104:12: note: previously used here 104 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ configure:28841: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28841: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28841: $? = 0 configure:28853: result: 8 configure:28861: checking size of off_t configure:28880: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:105:20: error: duplicate case value 105 | switch (0) case 0: case (sizeof (off_t) == 4):; | ^~~~ conftest.c:105:12: note: previously used here 105 | switch (0) case 0: case (sizeof (off_t) == 4):; | ^~~~ configure:28880: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28880: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28880: $? = 0 configure:28892: result: 8 configure:28903: checking size of curl_off_t configure:28924: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:108:20: error: duplicate case value 108 | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ^~~~ conftest.c:108:12: note: previously used here 108 | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ^~~~ configure:28924: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28924: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28924: $? = 0 configure:28936: result: 8 configure:28946: checking for long long configure:28946: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28946: $? = 0 configure:28946: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:136:24: error: expected expression before ')' token 136 | if (sizeof ((long long))) | ^ configure:28946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28946: result: yes configure:28957: checking if numberLL works configure:28974: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28974: $? = 0 configure:28976: result: yes configure:28993: checking for ssize_t configure:28993: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28993: $? = 0 configure:28993: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:138:22: error: expected expression before ')' token 138 | if (sizeof ((ssize_t))) | ^ configure:28993: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:28993: result: yes configure:29004: checking for bool configure:29004: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29004: $? = 0 configure:29004: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:114:19: error: expected expression before ')' token 114 | if (sizeof ((bool))) | ^ configure:29004: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29004: result: yes configure:29023: checking for sa_family_t configure:29023: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29023: $? = 0 configure:29023: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:112:26: error: expected expression before ')' token 112 | if (sizeof ((sa_family_t))) | ^ configure:29023: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29023: result: yes configure:29057: checking for suseconds_t configure:29057: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29057: $? = 0 configure:29057: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:116:26: error: expected expression before ')' token 116 | if (sizeof ((suseconds_t))) | ^ configure:29057: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29057: result: yes configure:29075: checking if time_t is unsigned configure:29082: result: no configure:29130: checking for sys/types.h configure:29130: result: yes configure:29130: checking for poll.h configure:29130: result: yes configure:29130: checking for sys/poll.h configure:29130: result: yes configure:29166: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:129:7: error: unknown type name 'force' 129 | force compilation error | ^~~~~ conftest.c:129:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 129 | force compilation error | ^~~~~ configure:29166: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29190: checking for in_addr_t configure:29190: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29190: $? = 0 configure:29190: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:141:24: error: expected expression before ')' token 141 | if (sizeof ((in_addr_t))) | ^ configure:29190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29190: result: yes configure:29306: checking for struct sockaddr_storage configure:29306: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29306: $? = 0 configure:29306: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:137:38: error: expected expression before ')' token 137 | if (sizeof ((struct sockaddr_storage))) | ^ configure:29306: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29306: result: yes configure:29343: checking signal.h usability configure:29343: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29343: $? = 0 configure:29343: result: yes configure:29343: checking signal.h presence configure:29343: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:29343: $? = 0 configure:29343: result: yes configure:29343: checking for signal.h configure:29343: result: yes configure:29353: checking for sig_atomic_t configure:29353: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29353: $? = 0 configure:29353: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:119:27: error: expected expression before ')' token 119 | if (sizeof ((sig_atomic_t))) | ^ configure:29353: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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:29353: result: yes configure:29370: checking if sig_atomic_t is already defined as volatile configure:29390: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29390: $? = 0 configure:29392: result: no configure:29419: checking for sys/select.h configure:29419: result: yes configure:29419: checking for sys/socket.h configure:29419: result: yes configure:29430: checking for select configure:29483: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29483: $? = 0 configure:29485: result: yes configure:29500: checking types of args and return type for select configure:29583: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29583: $? = 0 configure:29596: result: int,fd_set *,struct timeval *,int configure:29681: checking for sys/types.h configure:29681: result: yes configure:29681: checking for sys/socket.h configure:29681: result: yes configure:29692: checking for recv configure:29734: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29734: $? = 0 configure:29736: result: yes configure:29751: checking types of args and return type for recv configure:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, size_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, size_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, socklen_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, socklen_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, unsigned int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, unsigned int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, size_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, size_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, socklen_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, socklen_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, unsigned int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, void *, unsigned int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, size_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, size_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, socklen_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, socklen_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, unsigned int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, char *, unsigned int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, size_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, size_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, socklen_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, socklen_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, unsigned int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(ssize_t, void *, unsigned int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'char' 153 | recv(SOCKET, char *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:35: error: expected ')' before 'void' 153 | recv(SOCKET, void *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:159:23: error: unknown type name 'SOCKET' 159 | SOCKET s=0; | ^~~~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, size_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, size_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, socklen_t, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, socklen_t, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, unsigned int, int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:23: error: conflicting types for 'recv' 153 | recv(int, char *, unsigned int, unsigned int); | ^~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from conftest.c:147: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:29814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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:29814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:29814: $? = 0 configure:29828: result: int,void *,size_t,int,ssize_t configure:29879: checking for sys/types.h configure:29879: result: yes configure:29879: checking for sys/socket.h configure:29879: result: yes configure:29890: checking for send configure:29932: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29932: $? = 0 configure:29934: result: yes configure:29949: checking types of args and return type for send configure:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(ssize_t, const void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'char' 161 | send(SOCKET, char *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'void' 161 | send(SOCKET, void *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, size_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, size_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, socklen_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, socklen_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, unsigned int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const char *, unsigned int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, size_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, size_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, socklen_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, socklen_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, unsigned int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:35: error: expected ')' before 'const' 161 | send(SOCKET, const void *, unsigned int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:167:23: error: unknown type name 'SOCKET' 167 | SOCKET s=0; | ^~~~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, size_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:161:23: error: conflicting types for 'send' 161 | send(int, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:155: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:30011: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30011: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30011: $? = 0 configure:30025: result: int,const void *,size_t,int,ssize_t configure:30113: checking for sys/types.h configure:30113: result: yes configure:30113: checking for sys/socket.h configure:30113: result: yes configure:30123: checking for MSG_NOSIGNAL configure:30169: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30169: $? = 0 configure:30181: result: yes configure:30207: checking for sys/types.h configure:30207: result: yes configure:30207: checking for unistd.h configure:30207: result: yes configure:30226: checking if alarm can be linked configure:30255: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30255: $? = 0 configure:30257: result: yes configure:30272: checking if alarm is prototyped configure:30283: result: yes configure:30299: checking if alarm is compilable configure:30318: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30318: $? = 0 configure:30320: result: yes configure:30335: checking if alarm usage allowed configure:30338: result: yes configure:30348: checking if alarm might be used configure:30354: result: yes configure:30384: checking for sys/types.h configure:30384: result: yes configure:30384: checking for string.h configure:30384: result: yes configure:30384: checking for strings.h configure:30384: result: yes configure:30409: checking for sys/types.h configure:30409: result: yes configure:30409: checking for libgen.h configure:30409: result: yes configure:30428: checking if basename can be linked configure:30457: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30457: $? = 0 configure:30459: result: yes configure:30474: checking if basename is prototyped configure:30487: result: yes configure:30503: checking if basename is compilable configure:30524: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:30524: $? = 0 configure:30526: result: yes configure:30541: checking if basename usage allowed configure:30544: result: yes configure:30554: checking if basename might be used configure:30560: result: yes configure:30587: checking for sys/types.h configure:30587: result: yes configure:30587: checking for socket.h configure:30587: result: no configure:30606: checking if closesocket can be linked configure:30627: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:185:15: error: implicit declaration of function 'closesocket' [-Werror=implicit-function-declaration] 185 | if(0 != closesocket(0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:30627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30635: result: no configure:30724: checking if closesocket might be used configure:30739: result: no configure:30757: checking for sys/types.h configure:30757: result: yes configure:30757: checking for sys/socket.h configure:30757: result: yes configure:30776: checking if CloseSocket can be linked configure:30795: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:166:15: error: implicit declaration of function 'CloseSocket' [-Werror=implicit-function-declaration] 166 | if(0 != CloseSocket(0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:30795: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:30803: result: no configure:30888: checking if CloseSocket might be used configure:30903: result: no configure:30915: checking if connect can be linked configure:30937: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:30937: $? = 0 configure:30939: result: yes configure:30954: checking if connect is prototyped configure:30968: result: yes configure:30984: checking if connect is compilable configure:31006: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31006: $? = 0 configure:31008: result: yes configure:31023: checking if connect usage allowed configure:31026: result: yes configure:31036: checking if connect might be used configure:31042: result: yes configure:31072: checking for sys/types.h configure:31072: result: yes configure:31072: checking for unistd.h configure:31072: result: yes configure:31072: checking for fcntl.h configure:31072: result: yes configure:31091: checking if fcntl can be linked configure:31120: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31120: $? = 0 configure:31122: result: yes configure:31137: checking if fcntl is prototyped configure:31148: result: yes configure:31164: checking if fcntl is compilable configure:31183: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31183: $? = 0 configure:31185: result: yes configure:31200: checking if fcntl usage allowed configure:31203: result: yes configure:31213: checking if fcntl might be used configure:31219: result: yes configure:31239: checking if fcntl O_NONBLOCK is compilable configure:31259: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31259: $? = 0 configure:31261: result: yes configure:31276: checking if fcntl O_NONBLOCK usage allowed configure:31279: result: yes configure:31289: checking if fcntl O_NONBLOCK might be used configure:31293: result: yes configure:31330: checking for windows.h configure:31372: result: no configure:31385: checking for winsock2.h configure:31428: result: no configure:31441: checking for ws2tcpip.h configure:31485: result: no configure:31511: checking for sys/types.h configure:31511: result: yes configure:31511: checking for netdb.h configure:31511: result: yes configure:31530: checking if freeaddrinfo can be linked configure:31550: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31550: $? = 0 configure:31552: result: yes configure:31567: checking if freeaddrinfo is prototyped configure:31580: result: yes configure:31596: checking if freeaddrinfo is compilable configure:31616: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31616: $? = 0 configure:31618: result: yes configure:31633: checking if freeaddrinfo usage allowed configure:31636: result: yes configure:31646: checking if freeaddrinfo might be used configure:31652: result: yes configure:31685: checking for sys/types.h configure:31685: result: yes configure:31685: checking for sys/socket.h configure:31685: result: yes configure:31685: checking for netinet/in.h configure:31685: result: yes configure:31685: checking for ifaddrs.h configure:31685: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31685: $? = 0 configure:31685: result: yes configure:31704: checking if freeifaddrs can be linked configure:31733: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31733: $? = 0 configure:31735: result: yes configure:31750: checking if freeifaddrs is prototyped configure:31761: result: yes configure:31777: checking if freeifaddrs is compilable configure:31795: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31795: $? = 0 configure:31797: result: yes configure:31812: checking if freeifaddrs usage allowed configure:31815: result: yes configure:31825: checking if freeifaddrs might be used configure:31831: result: yes configure:31858: checking for sys/types.h configure:31858: result: yes configure:31858: checking for sys/xattr.h configure:31858: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31858: $? = 0 configure:31858: result: yes configure:31878: checking if fsetxattr can be linked configure:31907: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:31907: $? = 0 configure:31909: result: yes configure:31924: checking if fsetxattr is prototyped configure:31935: result: yes configure:31952: checking if fsetxattr takes 5 args. configure:31971: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:31971: $? = 0 configure:31973: result: yes configure:32023: checking if fsetxattr is compilable configure:32026: result: yes configure:32035: checking if fsetxattr usage allowed configure:32038: result: yes configure:32048: checking if fsetxattr might be used configure:32054: result: yes configure:32086: checking if ftruncate can be linked configure:32115: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32115: $? = 0 configure:32117: result: yes configure:32132: checking if ftruncate is prototyped configure:32143: result: yes configure:32159: checking if ftruncate is compilable configure:32178: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32178: $? = 0 configure:32180: result: yes configure:32195: checking if ftruncate usage allowed configure:32198: result: yes configure:32208: checking if ftruncate might be used configure:32214: result: yes configure:32241: checking for sys/types.h configure:32241: result: yes configure:32241: checking for stdlib.h configure:32241: result: yes configure:32262: checking if getaddrinfo can be linked configure:32283: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32283: $? = 0 configure:32285: result: yes configure:32300: checking if getaddrinfo is prototyped configure:32313: result: yes configure:32329: checking if getaddrinfo is compilable configure:32350: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32350: $? = 0 configure:32352: result: yes configure:32439: checking if getaddrinfo usage allowed configure:32442: result: yes configure:32452: checking if getaddrinfo might be used configure:32459: result: yes configure:32475: checking if getaddrinfo is threadsafe configure:32540: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32540: $? = 0 configure:32582: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32582: $? = 0 configure:32613: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:185:11: error: unknown type name 'force' 185 | force compilation error | ^~~~~ conftest.c:185:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 185 | force compilation error | ^~~~~ configure:32613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:32631: result: yes configure:32652: checking if gai_strerror can be linked configure:32673: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32673: $? = 0 configure:32675: result: yes configure:32690: checking if gai_strerror is prototyped configure:32703: result: yes configure:32719: checking if gai_strerror is compilable configure:32740: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32740: $? = 0 configure:32742: result: yes configure:32757: checking if gai_strerror usage allowed configure:32760: result: yes configure:32770: checking if gai_strerror might be used configure:32776: result: yes configure:32797: checking if gethostbyaddr can be linked configure:32818: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32818: $? = 0 configure:32820: result: yes configure:32835: checking if gethostbyaddr is prototyped configure:32848: result: yes configure:32864: checking if gethostbyaddr is compilable configure:32885: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32885: $? = 0 configure:32887: result: yes configure:32902: checking if gethostbyaddr usage allowed configure:32905: result: yes configure:32915: checking if gethostbyaddr might be used configure:32921: result: yes configure:32943: checking if gethostbyaddr_r can be linked configure:32972: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:32972: $? = 0 configure:32974: result: yes configure:32989: checking if gethostbyaddr_r is prototyped configure:33000: result: yes configure:33017: checking if gethostbyaddr_r takes 5 args. configure:33036: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:191:19: error: too few arguments to function 'gethostbyaddr_r' 191 | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:184: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ configure:33036: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33045: result: no configure:33053: checking if gethostbyaddr_r takes 7 args. configure:33072: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:191:19: error: too few arguments to function 'gethostbyaddr_r' 191 | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:184: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:170:12: note: declared here 170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | ^~~~~~~~~~~~~~~ configure:33072: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33081: result: no configure:33089: checking if gethostbyaddr_r takes 8 args. configure:33108: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33108: $? = 0 configure:33110: result: yes configure:33124: checking if gethostbyaddr_r is compilable configure:33127: result: yes configure:33136: checking if gethostbyaddr_r usage allowed configure:33139: result: yes configure:33149: checking if gethostbyaddr_r might be used configure:33155: result: yes configure:33191: checking if gethostbyname can be linked configure:33212: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33212: $? = 0 configure:33214: result: yes configure:33229: checking if gethostbyname is prototyped configure:33242: result: yes configure:33258: checking if gethostbyname is compilable configure:33279: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33279: $? = 0 configure:33281: result: yes configure:33296: checking if gethostbyname usage allowed configure:33299: result: yes configure:33309: checking if gethostbyname might be used configure:33315: result: yes configure:33337: checking if gethostbyname_r can be linked configure:33366: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33366: $? = 0 configure:33368: result: yes configure:33383: checking if gethostbyname_r is prototyped configure:33394: result: yes configure:33411: checking if gethostbyname_r takes 3 args. configure:33430: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:194:19: error: too few arguments to function 'gethostbyname_r' 194 | if(0 != gethostbyname_r(0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:187: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ configure:33430: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33439: result: no configure:33447: checking if gethostbyname_r takes 5 args. configure:33466: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:194:19: error: too few arguments to function 'gethostbyname_r' 194 | if(0 != gethostbyname_r(0, 0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:187: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:177:12: note: declared here 177 | extern int gethostbyname_r (const char *__restrict __name, | ^~~~~~~~~~~~~~~ configure:33466: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33475: result: no configure:33483: checking if gethostbyname_r takes 6 args. configure:33502: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33502: $? = 0 configure:33504: result: yes configure:33518: checking if gethostbyname_r is compilable configure:33521: result: yes configure:33530: checking if gethostbyname_r usage allowed configure:33533: result: yes configure:33543: checking if gethostbyname_r might be used configure:33549: result: yes configure:33595: checking if gethostname can be linked configure:33616: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33616: $? = 0 configure:33618: result: yes configure:33633: checking if gethostname is prototyped configure:33646: result: yes configure:33662: checking if gethostname is compilable configure:33683: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33683: $? = 0 configure:33685: result: yes configure:33700: checking for gethostname arg 2 data type configure:33727: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:220:38: error: conflicting types for 'gethostname' 220 | extern int FUNCALLCONV gethostname(char *, int); | ^~~~~~~~~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:207: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:344:1: note: previous definition of 'gethostname' was here 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ configure:33727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33727: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:220:38: error: conflicting types for 'gethostname' 220 | extern int FUNCALLCONV gethostname(char *, unsigned int); | ^~~~~~~~~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:207: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:344:1: note: previous definition of 'gethostname' was here 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ configure:33727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:33727: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33727: $? = 0 configure:33736: result: size_t configure:33748: checking if gethostname usage allowed configure:33751: result: yes configure:33761: checking if gethostname might be used configure:33767: result: yes configure:33788: checking if getpeername can be linked configure:33809: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33809: $? = 0 configure:33811: result: yes configure:33826: checking if getpeername is prototyped configure:33839: result: yes configure:33855: checking if getpeername is compilable configure:33876: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33876: $? = 0 configure:33878: result: yes configure:33893: checking if getpeername usage allowed configure:33896: result: yes configure:33906: checking if getpeername might be used configure:33912: result: yes configure:33933: checking if getsockname can be linked configure:33954: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:33954: $? = 0 configure:33956: result: yes configure:33971: checking if getsockname is prototyped configure:33984: result: yes configure:34000: checking if getsockname is compilable configure:34021: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34021: $? = 0 configure:34023: result: yes configure:34038: checking if getsockname usage allowed configure:34041: result: yes configure:34051: checking if getsockname might be used configure:34057: result: yes configure:34080: checking for net/if.h configure:34080: result: yes configure:34099: checking if if_nametoindex can be linked configure:34120: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34120: $? = 0 configure:34122: result: yes configure:34137: checking if if_nametoindex is prototyped configure:34149: result: yes configure:34165: checking if if_nametoindex is compilable configure:34185: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34185: $? = 0 configure:34187: result: yes configure:34202: checking if if_nametoindex usage allowed configure:34205: result: yes configure:34215: checking if if_nametoindex might be used configure:34221: result: yes configure:34243: checking if getifaddrs can be linked configure:34272: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34272: $? = 0 configure:34274: result: yes configure:34289: checking if getifaddrs is prototyped configure:34300: result: yes configure:34316: checking if getifaddrs is compilable configure:34335: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34335: $? = 0 configure:34337: result: yes configure:34410: checking if getifaddrs usage allowed configure:34413: result: yes configure:34423: checking if getifaddrs might be used configure:34430: result: yes configure:34452: checking if getservbyport_r can be linked configure:34481: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34481: $? = 0 configure:34483: result: yes configure:34498: checking if getservbyport_r is prototyped configure:34509: result: yes configure:34526: checking if getservbyport_r takes 4 args. configure:34545: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:203:19: error: too few arguments to function 'getservbyport_r' 203 | if(0 != getservbyport_r(0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:196: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:316:12: note: declared here 316 | extern int getservbyport_r (int __port, const char *__restrict __proto, | ^~~~~~~~~~~~~~~ configure:34545: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:34554: result: no configure:34562: checking if getservbyport_r takes 5 args. configure:34581: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:203:19: error: too few arguments to function 'getservbyport_r' 203 | if(0 != getservbyport_r(0, 0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:196: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:316:12: note: declared here 316 | extern int getservbyport_r (int __port, const char *__restrict __proto, | ^~~~~~~~~~~~~~~ configure:34581: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:34590: result: no configure:34598: checking if getservbyport_r takes 6 args. configure:34617: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34617: $? = 0 configure:34619: result: yes configure:34633: checking if getservbyport_r is compilable configure:34636: result: yes configure:34645: checking if getservbyport_r usage allowed configure:34648: result: yes configure:34658: checking if getservbyport_r might be used configure:34664: result: yes configure:34706: checking for sys/types.h configure:34706: result: yes configure:34706: checking for sys/time.h configure:34706: result: yes configure:34726: checking if gmtime_r can be linked configure:34755: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34755: $? = 0 configure:34757: result: yes configure:34772: checking if gmtime_r is prototyped configure:34783: result: yes configure:34799: checking if gmtime_r is compilable configure:34818: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34818: $? = 0 configure:34820: result: yes configure:34893: checking if gmtime_r usage allowed configure:34896: result: yes configure:34906: checking if gmtime_r might be used configure:34913: result: yes configure:34950: checking for sys/types.h configure:34950: result: yes configure:34950: checking for sys/socket.h configure:34950: result: yes configure:34950: checking for netinet/in.h configure:34950: result: yes configure:34950: checking for arpa/inet.h configure:34950: result: yes configure:34970: checking if inet_ntoa_r can be linked configure:34999: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccnKhz5V.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:34999: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:35007: result: no configure:35142: checking if inet_ntoa_r might be used configure:35168: result: no configure:35181: checking if inet_ntop can be linked configure:35210: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35210: $? = 0 configure:35212: result: yes configure:35227: checking if inet_ntop is prototyped configure:35238: result: yes configure:35254: checking if inet_ntop is compilable configure:35273: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35273: $? = 0 configure:35275: result: yes configure:35390: checking if inet_ntop usage allowed configure:35393: result: yes configure:35403: checking if inet_ntop might be used configure:35410: result: yes configure:35432: checking if inet_pton can be linked configure:35461: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35461: $? = 0 configure:35463: result: yes configure:35478: checking if inet_pton is prototyped configure:35489: result: yes configure:35505: checking if inet_pton is compilable configure:35524: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35524: $? = 0 configure:35526: result: yes configure:35634: checking if inet_pton usage allowed configure:35637: result: yes configure:35647: checking if inet_pton might be used configure:35654: result: yes configure:35690: checking for sys/types.h configure:35690: result: yes configure:35690: checking for unistd.h configure:35690: result: yes configure:35690: checking for sys/socket.h configure:35690: result: yes configure:35690: checking for sys/ioctl.h configure:35690: result: yes configure:35690: checking for stropts.h configure:35690: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:223:10: fatal error: stropts.h: No such file or directory 223 | #include | ^~~~~~~~~~~ compilation terminated. configure:35690: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:35690: result: no configure:35709: checking if ioctl can be linked configure:35738: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35738: $? = 0 configure:35740: result: yes configure:35755: checking if ioctl is prototyped configure:35766: result: yes configure:35782: checking if ioctl is compilable configure:35801: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35801: $? = 0 configure:35803: result: yes configure:35818: checking if ioctl usage allowed configure:35821: result: yes configure:35831: checking if ioctl might be used configure:35837: result: yes configure:35851: checking if ioctl FIONBIO is compilable configure:35871: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35871: $? = 0 configure:35873: result: yes configure:35888: checking if ioctl FIONBIO usage allowed configure:35891: result: yes configure:35901: checking if ioctl FIONBIO might be used configure:35905: result: yes configure:35925: checking if ioctl SIOCGIFADDR is compilable configure:35946: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35946: $? = 0 configure:35948: result: yes configure:35963: checking if ioctl SIOCGIFADDR usage allowed configure:35966: result: yes configure:35976: checking if ioctl SIOCGIFADDR might be used configure:35980: result: yes configure:36007: checking if ioctlsocket can be linked configure:36027: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:235:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 235 | if(0 != ioctlsocket(0, 0, 0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:36027: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:36035: result: no configure:36122: checking if ioctlsocket might be used configure:36212: result: no configure:36224: checking if IoctlSocket can be linked configure:36253: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cclogGO1.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:36253: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:36261: result: no configure:36346: checking if IoctlSocket might be used configure:36435: result: no configure:36448: checking if localtime_r can be linked configure:36477: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36477: $? = 0 configure:36479: result: yes configure:36494: checking if localtime_r is prototyped configure:36505: result: yes configure:36521: checking if localtime_r is compilable configure:36540: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:36540: $? = 0 configure:36542: result: yes configure:36615: checking if localtime_r usage allowed configure:36618: result: yes configure:36628: checking if localtime_r might be used configure:36635: result: yes configure:36657: checking if memrchr can be linked configure:36686: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36686: $? = 0 configure:36688: result: yes configure:36740: checking if memrchr is prototyped configure:36757: result: no configure:36817: checking if memrchr might be used configure:36832: result: no configure:36852: checking if poll can be linked configure:36871: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36871: $? = 0 configure:36873: result: yes configure:36888: checking if poll is prototyped configure:36899: result: yes configure:36915: checking if poll is compilable configure:36934: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:36934: $? = 0 configure:36936: result: yes configure:37021: checking if poll usage allowed configure:37024: result: yes configure:37034: checking if poll might be used configure:37041: result: yes configure:37067: checking if setsockopt can be linked configure:37088: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37088: $? = 0 configure:37090: result: yes configure:37105: checking if setsockopt is prototyped configure:37118: result: yes configure:37134: checking if setsockopt is compilable configure:37155: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37155: $? = 0 configure:37157: result: yes configure:37172: checking if setsockopt usage allowed configure:37175: result: yes configure:37185: checking if setsockopt might be used configure:37191: result: yes configure:37205: checking if setsockopt SO_NONBLOCK is compilable configure:37226: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:247:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? 247 | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | ^~~~~~~~~~~ | SOCK_NONBLOCK conftest.c:247:43: note: each undeclared identifier is reported only once for each function it appears in configure:37226: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:37234: result: no configure:37256: checking if setsockopt SO_NONBLOCK might be used configure:37269: result: no configure:37293: checking for sys/types.h configure:37293: result: yes configure:37293: checking for signal.h configure:37293: result: yes configure:37312: checking if sigaction can be linked configure:37341: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37341: $? = 0 configure:37343: result: yes configure:37358: checking if sigaction is prototyped configure:37369: result: yes configure:37385: checking if sigaction is compilable configure:37404: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37404: $? = 0 configure:37406: result: yes configure:37421: checking if sigaction usage allowed configure:37424: result: yes configure:37434: checking if sigaction might be used configure:37440: result: yes configure:37461: checking if siginterrupt can be linked configure:37490: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37490: $? = 0 configure:37492: result: yes configure:37507: checking if siginterrupt is prototyped configure:37518: result: yes configure:37534: checking if siginterrupt is compilable configure:37553: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37553: $? = 0 configure:37555: result: yes configure:37570: checking if siginterrupt usage allowed configure:37573: result: yes configure:37583: checking if siginterrupt might be used configure:37589: result: yes configure:37610: checking if signal can be linked configure:37639: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37639: $? = 0 configure:37641: result: yes configure:37656: checking if signal is prototyped configure:37667: result: yes configure:37683: checking if signal is compilable configure:37702: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37702: $? = 0 configure:37704: result: yes configure:37719: checking if signal usage allowed configure:37722: result: yes configure:37732: checking if signal might be used configure:37738: result: yes configure:37765: checking for sys/types.h configure:37765: result: yes configure:37765: checking for setjmp.h configure:37765: result: yes configure:37785: checking if sigsetjmp can be linked configure:37814: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccRrEo6F.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetjmp' collect2: error: ld returned 1 exit status configure:37814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:37822: result: no configure:37831: checking if sigsetjmp seems a macro configure:37851: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37851: $? = 0 configure:37853: result: yes configure:37897: checking if sigsetjmp is compilable configure:37917: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:37917: $? = 0 configure:37919: result: yes configure:37934: checking if sigsetjmp usage allowed configure:37937: result: yes configure:37947: checking if sigsetjmp might be used configure:37953: result: yes configure:37974: checking if socket can be linked configure:37996: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37996: $? = 0 configure:37998: result: yes configure:38013: checking if socket is prototyped configure:38027: result: yes configure:38043: checking if socket is compilable configure:38065: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38065: $? = 0 configure:38067: result: yes configure:38082: checking if socket usage allowed configure:38085: result: yes configure:38095: checking if socket might be used configure:38101: result: yes configure:38122: checking if socketpair can be linked configure:38151: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38151: $? = 0 configure:38153: result: yes configure:38168: checking if socketpair is prototyped configure:38180: result: yes configure:38196: checking if socketpair is compilable configure:38217: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38217: $? = 0 configure:38219: result: yes configure:38234: checking if socketpair usage allowed configure:38237: result: yes configure:38247: checking if socketpair might be used configure:38253: result: yes configure:38274: checking if strcasecmp can be linked configure:38303: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:234:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 234 | char strcasecmp (); | ^~~~~~~~~~ configure:38303: $? = 0 configure:38305: result: yes configure:38320: checking if strcasecmp is prototyped configure:38331: result: yes configure:38347: checking if strcasecmp is compilable configure:38366: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38366: $? = 0 configure:38368: result: yes configure:38383: checking if strcasecmp usage allowed configure:38386: result: yes configure:38396: checking if strcasecmp might be used configure:38402: result: yes configure:38423: checking if strcmpi can be linked configure:38452: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccimMhlA.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:38452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:38460: result: no configure:38545: checking if strcmpi might be used configure:38560: result: no configure:38572: checking if strdup can be linked configure:38601: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:235:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 235 | char strdup (); | ^~~~~~ configure:38601: $? = 0 configure:38603: result: yes configure:38618: checking if strdup is prototyped configure:38629: result: yes configure:38645: checking if strdup is compilable configure:38664: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38664: $? = 0 configure:38666: result: yes configure:38681: checking if strdup usage allowed configure:38684: result: yes configure:38694: checking if strdup might be used configure:38700: result: yes configure:38727: checking if strerror_r can be linked configure:38756: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38756: $? = 0 configure:38758: result: yes configure:38773: checking if strerror_r is prototyped configure:38784: result: yes configure:38800: checking if strerror_r is compilable configure:38819: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38819: $? = 0 configure:38821: result: yes configure:38836: checking if strerror_r is glibc like configure:38859: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:237:19: error: conflicting types for 'strerror_r' 237 | char *strerror_r(int errnum, char *workbuf, size_t bufsize); | ^~~~~~~~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:228: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here 410 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:38859: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:38859: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:237:19: error: conflicting types for 'strerror_r' 237 | char *strerror_r(int errnum, char *workbuf, int bufsize); | ^~~~~~~~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:228: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here 410 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:38859: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:38859: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:237:19: error: conflicting types for 'strerror_r' 237 | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); | ^~~~~~~~~~ In file included from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:228: /srv/storage/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:410:12: note: previous declaration of 'strerror_r' was here 410 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:38859: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:38869: result: no configure:38943: checking if strerror_r is POSIX like configure:38966: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:38966: $? = 0 configure:38981: result: yes configure:39065: checking if strerror_r usage allowed configure:39068: result: yes configure:39078: checking if strerror_r might be used configure:39084: result: yes configure:39141: checking if stricmp can be linked configure:39170: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccGMLkpq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:39170: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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:39178: result: no configure:39263: checking if stricmp might be used configure:39278: result: no configure:39290: checking if strncmpi can be linked configure:39319: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccZkMh6q.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:39319: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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 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:39327: result: no configure:39412: checking if strncmpi might be used configure:39427: result: no configure:39439: checking if strnicmp can be linked configure:39468: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccxbnj1A.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:39468: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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 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:39476: result: no configure:39561: checking if strnicmp might be used configure:39576: result: no configure:39588: checking if strstr can be linked configure:39617: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:239:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 239 | char strstr (); | ^~~~~~ conftest.c:232:1: note: 'strstr' is declared in header '' 231 | # include 232 | #else configure:39617: $? = 0 configure:39619: result: yes configure:39634: checking if strstr is prototyped configure:39645: result: yes configure:39661: checking if strstr is compilable configure:39680: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39680: $? = 0 configure:39682: result: yes configure:39697: checking if strstr usage allowed configure:39700: result: yes configure:39710: checking if strstr might be used configure:39716: result: yes configure:39737: checking if strtok_r can be linked configure:39766: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39766: $? = 0 configure:39768: result: yes configure:39783: checking if strtok_r is prototyped configure:39794: result: yes configure:39810: checking if strtok_r is compilable configure:39829: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39829: $? = 0 configure:39831: result: yes configure:39846: checking if strtok_r usage allowed configure:39849: result: yes configure:39859: checking if strtok_r might be used configure:39865: result: yes configure:39886: checking if strtoll can be linked configure:39915: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39915: $? = 0 configure:39917: result: yes configure:39932: checking if strtoll is prototyped configure:39943: result: yes configure:39959: checking if strtoll is compilable configure:39978: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:39978: $? = 0 configure:39980: result: yes configure:39995: checking if strtoll usage allowed configure:39998: result: yes configure:40008: checking if strtoll might be used configure:40014: result: yes configure:40041: checking for sys/types.h configure:40041: result: yes configure:40041: checking for sys/uio.h configure:40041: result: yes configure:40060: checking if writev can be linked configure:40089: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40089: $? = 0 configure:40091: result: yes configure:40106: checking if writev is prototyped configure:40117: result: yes configure:40133: checking if writev is compilable configure:40152: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:40152: $? = 0 configure:40154: result: yes configure:40169: checking if writev usage allowed configure:40172: result: yes configure:40182: checking if writev might be used configure:40188: result: yes configure:40212: checking whether getpwuid_r is declared configure:40212: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:40212: $? = 0 configure:40212: result: yes configure:40254: checking for fnmatch configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for geteuid configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for getpass_r configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cccpEoLW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:40254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40254: result: no configure:40266: checking deeper for getpass_r configure:40283: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:242:9: error: implicit declaration of function 'getpass_r' [-Werror=implicit-function-declaration] 242 | getpass_r (); | ^~~~~~~~~ cc1: some warnings being treated as errors configure:40283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40296: result: but still no configure:40254: checking for getppid configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for getpwuid configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for getpwuid_r configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for getrlimit configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for gettimeofday configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for if_nametoindex configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for mach_absolute_time configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccaoIdDR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status configure:40254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40254: result: no configure:40266: checking deeper for mach_absolute_time configure:40283: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:248:9: error: implicit declaration of function 'mach_absolute_time' [-Werror=implicit-function-declaration] 248 | mach_absolute_time (); | ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors configure:40283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40296: result: but still no configure:40254: checking for pipe configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for setlocale configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for setmode configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccFt1g0q.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:40254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40254: result: no configure:40266: checking deeper for setmode configure:40283: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:250:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration] 250 | setmode (); | ^~~~~~~ cc1: some warnings being treated as errors configure:40283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.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 HAVE_LDAP_SSL 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #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_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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_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_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:40296: result: but still no configure:40254: checking for setrlimit configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for usleep configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for utime configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40254: checking for utimes configure:40254: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40254: $? = 0 configure:40254: result: yes configure:40312: checking how to set a socket into non-blocking mode configure:40325: result: fcntl O_NONBLOCK configure:40336: checking for perl configure:40367: result: /usr/bin/perl configure:40381: checking for gnroff configure:40415: result: no configure:40381: checking for nroff configure:40415: result: no configure:40453: WARNING: disabling built-in manual configure:40763: checking for libcares options with pkg-config configure:40777: result: found configure:40786: pkg-config: ares_LIBS: "-lcares " configure:40788: pkg-config: ares_LDFLAGS: "-L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib " configure:40790: pkg-config: ares_CPPFLAGS: "" configure:40805: checking that c-ares is good and recent enough configure:40832: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcares -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40832: $? = 0 configure:40834: result: yes configure:40909: checking whether to use POSIX threads for threaded resolver configure:40925: result: auto configure:41050: checking convert -I options to -isystem configure:41054: result: yes configure:41092: checking whether to enable verbose strings configure:41105: result: yes configure:41116: checking whether to enable SSPI support (Windows native builds only) configure:41155: result: no configure:41162: checking whether to enable cryptographic authentication methods configure:41180: result: yes configure:41211: checking whether to enable NTLM delegation to winbind's helper configure:41218: result: no configure:41233: checking whether to enable TLS-SRP authentication configure:41249: result: yes configure:41264: checking whether to enable Unix domain sockets configure:41280: result: auto configure:41288: checking for struct sockaddr_un.sun_path configure:41288: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:41288: $? = 0 configure:41288: result: yes configure:41311: checking whether to support cookies configure:41317: result: no configure:41334: checking whether to support socketpair configure:41351: result: yes configure:41357: checking whether to support HTTP authentication configure:41374: result: yes configure:41380: checking whether to support DoH configure:41397: result: yes configure:41403: checking whether to support the MIME API configure:41420: result: yes configure:41426: checking whether to support date parsing configure:41443: result: yes configure:41449: checking whether to support netrc parsing configure:41466: result: yes configure:41472: checking whether to support progress-meter configure:41489: result: yes configure:41495: checking whether to support DNS shuffling configure:41512: result: yes configure:41518: checking whether to support curl_easy_option* configure:41535: result: yes configure:41541: checking whether to support alt-svc configure:41560: result: no configure:41567: checking whether to support HSTS configure:41583: result: no configure:41632: checking whether hiding of library internal symbols will actually happen configure:41649: result: no configure:42043: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion configure:42049: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:42049: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:42049: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:42049: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:42080: WARNING: Continuing even with errors mentioned immediately above this line. configure:42200: checking that generated files are newer than configure configure:42206: result: done configure:42301: 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 USE241J4NT config.status:1477: creating Makefile config.status:1477: creating docs/Makefile config.status:1477: creating docs/examples/Makefile config.status:1477: creating docs/libcurl/Makefile config.status:1477: creating docs/libcurl/opts/Makefile config.status:1477: creating docs/cmdline-opts/Makefile config.status:1477: creating include/Makefile config.status:1477: creating include/curl/Makefile config.status:1477: creating src/Makefile config.status:1477: creating lib/Makefile config.status:1477: creating scripts/Makefile config.status:1477: creating lib/libcurl.vers config.status:1477: creating tests/Makefile config.status:1477: creating tests/certs/Makefile config.status:1477: creating tests/certs/scripts/Makefile config.status:1477: creating tests/data/Makefile config.status:1477: creating tests/server/Makefile config.status:1477: creating tests/libtest/Makefile config.status:1477: creating tests/unit/Makefile config.status:1477: creating packages/Makefile config.status:1477: creating packages/vms/Makefile config.status:1477: creating curl-config config.status:1477: creating libcurl.pc config.status:1477: creating lib/curl_config.h config.status:1706: executing depfiles commands config.status:1706: executing libtool commands configure:44793: Configured to build curl/libcurl: Host setup: riscv64-buildroot-linux-gnu Install prefix: /usr Compiler: /srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion CPPFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 LDFLAGS: -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib LIBS: -lcares -lssl -lcrypto -lssl -lcrypto -lz curl version: 7.76.1 SSL: enabled (OpenSSL) SSH: no (--with-{libssh,libssh2}) zlib: enabled brotli: no (--with-brotli) zstd: no (--with-zstd) GSS-API: no (--with-gssapi) GSASL: no (libgsasl not found) TLS-SRP: enabled resolver: c-ares 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: enabled (--disable-verbose) 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: enabled RTMP: no (--with-librtmp) Metalink: no (--with-libmetalink) PSL: no (libpsl not found) Alt-svc: enabled HTTP1: enabled (internal) HTTP2: no (--with-nghttp2, --with-hyper) HTTP3: no (--with-ngtcp2, --with-quiche) ECH: no (--enable-ech) Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP Features: AsynchDNS HTTPS-proxy IPv6 Largefile NTLM SSL TLS-SRP UnixSockets alt-svc 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=/srv/storage/autobuild/run/instance-0/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 -D_FORTIFY_SOURCE=1' 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=/srv/storage/autobuild/run/instance-0/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_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_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_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_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_rtmp_RTMP_Init=no 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_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=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp ac_cv_prog_OBJDUMP=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-objdump ac_cv_prog_RANLIB=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ranlib ac_cv_prog_STRIP=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_gsasl_init=no 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_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=0x101010bfL curl_cv_def___GNUC__=10 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_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_lber_h=no curl_cv_header_ldap_h=no curl_cv_header_ldap_ssl_h=no curl_cv_header_ldapssl_h=no curl_cv_header_malloc_h=yes curl_cv_header_memory_h=no curl_cv_header_winber_h=no curl_cv_header_wincrypt_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_ldap_LIBS=unknown 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='-lz ' 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=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld lt_cv_path_NM=/srv/storage/autobuild/run/instance-0/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} '\''/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/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='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar' AR_FLAGS='cr' AS='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-as' AUTOCONF='${SHELL} '\''/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/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='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion' CFLAG_CURL_SYMBOL_HIDING='' 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'\'' '\''--enable-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'\'' '\''--enable-verbose'\'' '\''--with-ssl=/srv/storage/autobuild/run/instance-0/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'\'' '\''--enable-ares'\'' '\''--without-libidn2'\'' '\''--without-libssh2'\'' '\''--without-brotli'\'' '\''--without-nghttp2'\'' '\''--without-gsasl'\'' '\''--disable-cookies'\'' '\''--enable-proxy'\'' '\''--enable-dict'\'' '\''--enable-gopher'\'' '\''--enable-imap'\'' '\''--enable-ldap'\'' '\''--enable-ldaps'\'' '\''--enable-pop3'\'' '\''--enable-rtsp'\'' '\''--enable-smb'\'' '\''--enable-smtp'\'' '\''--enable-telnet'\'' '\''--enable-tftp'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=riscv64-buildroot-linux-gnu'\'' '\''target_alias=riscv64-buildroot-linux-gnu'\'' '\''CC=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc'\'' '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1'\'' '\''LDFLAGS='\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' '\''CPP=/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-cpp'\''"' CPP='/srv/storage/autobuild/run/instance-0/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.76.1' CURL_CA_BUNDLE='' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_GOPHER='' CURL_DISABLE_HTTP='' CURL_DISABLE_IMAP='' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_MQTT='' CURL_DISABLE_POP3='' CURL_DISABLE_PROXY='' CURL_DISABLE_RTSP='' CURL_DISABLE_SMB='' CURL_DISABLE_SMTP='' CURL_DISABLE_TELNET='' CURL_DISABLE_TFTP='' 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='1' 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='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ld' LDFLAGS='-L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/srv/storage/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib' LIBCURL_LIBS='-lcares -lssl -lcrypto -lssl -lcrypto -lz' LIBCURL_NO_SHARED='' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='-lcares -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} '\''/srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/missing'\'' makeinfo' MANIFEST_TOOL=':' MANOPT='' MKDIR_P='/usr/bin/mkdir -p' NM='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-nm' NMEDIT='' NROFF='' NSS_LIBS='' OBJDUMP='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='curl' PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.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.se' PKGCONFIG='/srv/storage/autobuild/run/instance-0/output-1/host/bin/pkg-config' RANDOM_FILE='/dev/urandom' RANLIB='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ranlib' REQUIRE_LIB_DEPS='no' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' SSL_BACKENDS='OpenSSL' SSL_ENABLED='1' SSL_LIBS='-lssl -lcrypto ' STRIP='/srv/storage/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-strip' SUPPORT_FEATURES='AsynchDNS HTTPS-proxy IPv6 Largefile NTLM SSL TLS-SRP UnixSockets alt-svc libz' SUPPORT_PROTOCOLS='DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP' USE_ARES='1' 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_GSASL_FALSE='' USE_GSASL_TRUE='#' USE_HYPER='' USE_LIBPSL_FALSE='' USE_LIBPSL_TRUE='#' USE_LIBRTMP='' USE_LIBSSH2='' 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_RUSTLS='' USE_SCHANNEL='' USE_SECTRANSP='' USE_UNIX_SOCKETS='1' USE_WIN32_CRYPTO='' USE_WIN32_LARGE_FILES='' USE_WIN32_SMALL_FILES='' USE_WINDOWS_SSPI='' USE_WOLFSSH='' USE_WOLFSSL='' VERSION='-' VERSIONNUM='074c01' 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} /srv/storage/autobuild/run/instance-0/output-1/build/libcurl-7.76.1/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.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 HAVE_LDAP_SSL 1 #define CURL_DISABLE_LIBCURL_OPTION 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define HAVE_ZLIB_H 1 #define HAVE_LIBZ 1 #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 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_MALLOC_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_LINUX_TCP_H 1 #define HAVE_NETINET_TCP_H 1 #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_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_ARPA_TFTP_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_VARIADIC_MACROS_C99 1 #define HAVE_VARIADIC_MACROS_GCC 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_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 HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define SELECT_TYPE_ARG1 int #define SELECT_TYPE_ARG234 fd_set * #define SELECT_TYPE_RETV int #define SELECT_QUAL_ARG5 #define SELECT_TYPE_ARG5 struct timeval * #define HAVE_SELECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define 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_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_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 USE_ARES 1 #define USE_TLS_SRP 1 #define USE_UNIX_SOCKETS 1 #define CURL_DISABLE_COOKIES 1 configure: exit 0