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.71. Invocation command line was $ ./configure --target=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-manual --disable-ntlm-wb --enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug --disable-libcurl-option --disable-ldap --disable-ldaps --enable-threaded-resolver --disable-verbose --with-ssl=/home/buildroot/autobuild/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 --disable-ares --without-libidn2 --without-libssh2 --without-brotli --without-nghttp2 --without-gsasl --disable-cookies --disable-proxy --disable-dict --disable-gopher --disable-imap --disable-pop3 --disable-rtsp --disable-smb --disable-smtp --disable-telnet --disable-tftp ## --------- ## ## Platform. ## ## --------- ## hostname = gcc159.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.9.0-16-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.9.272-2 (2021-07-19) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/instance-0/output-1/host/bin/ PATH: /home/buildroot/autobuild/instance-0/output-1/host/sbin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3289: looking for aux files: ltmain.sh config.guess config.sub missing compile install-sh configure:3302: trying ./ configure:3331: ./ltmain.sh found configure:3331: ./config.guess found configure:3331: ./config.sub found configure:3331: ./missing found configure:3331: ./compile found configure:3313: ./install-sh found configure:3457: checking whether to enable maintainer-specific portions of Makefiles configure:3467: result: no configure:3492: checking whether make supports nested variables configure:3510: result: yes configure:3523: checking whether to enable debug build options configure:3546: result: no configure:3550: checking whether to enable compiler optimizer configure:3572: result: (assumed) yes configure:3584: checking whether to enable strict compiler warnings configure:3604: result: no configure:3608: checking whether to enable compiler warnings as errors configure:3628: result: no configure:3632: checking whether to enable curl debug memory tracking configure:3644: result: no configure:3672: checking whether to enable hiding of library internal symbols configure:3689: result: yes configure:3700: checking whether to enable c-ares for DNS lookups configure:3723: result: no configure:3727: checking whether to disable dependency on -lrt configure:3744: result: (assumed no) configure:3755: checking whether to enable ECH support configure:3774: result: no configure:3805: checking for path separator configure:3807: result: : configure:3827: checking for sed configure:3851: found /bin/sed configure:3864: result: /bin/sed configure:3881: checking for grep configure:3905: found /bin/grep configure:3918: result: /bin/grep configure:3934: checking for egrep configure:3937: result: /bin/grep -E configure:4247: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 configure:4253: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:4253: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:4253: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:4253: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:4284: WARNING: Continuing even with errors mentioned immediately above this line. configure:4304: checking for a BSD-compatible install configure:4377: result: /usr/bin/install -c configure:4409: checking for riscv64-buildroot-linux-gnu-gcc configure:4441: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc configure:4839: checking for C compiler version configure:4848: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 11.2.0 Copyright (C) 2021 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:4859: $? = 0 configure:4848: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/11.2.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1 --sysconfdir=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1 --with-mpc=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1 --with-mpfr=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1 --with-pkgversion='Buildroot toolchains.bootlin.com-2021.11-1' --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=lp64d --enable-languages=c,c++,fortran --with-build-time-tools=/builds/bootlin/toolchains-builder/build/riscv64-lp64d--glibc--bleeding-edge-2021.11-1/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.2.0 (Buildroot toolchains.bootlin.com-2021.11-1) COMPILER_PATH=/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/11.2.0/:/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/:/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/lib/:/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4859: $? = 1 configure:4848: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:4859: $? = 1 configure:4848: /home/buildroot/autobuild/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:4859: $? = 1 configure:4848: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -version >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-version' configure:4859: $? = 1 configure:4878: checking whether the C compiler works configure:4900: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4904: $? = 0 configure:4954: result: yes configure:4957: checking for C compiler default output file name configure:4959: result: a.out configure:4965: checking for suffix of executables configure:4972: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4976: $? = 0 configure:4999: result: configure:5020: checking whether we are cross compiling configure:5058: result: yes configure:5063: checking for suffix of object files configure:5085: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5089: $? = 0 configure:5111: result: o configure:5115: checking whether the compiler supports GNU C configure:5134: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5134: $? = 0 configure:5144: result: yes configure:5155: checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g configure:5175: /home/buildroot/autobuild/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:5175: $? = 0 configure:5217: result: yes configure:5237: checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc option to enable C11 features configure:5252: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5252: $? = 0 configure:5270: result: none needed configure:5386: checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:5408: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:5411: $? = 0 configure:5408: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:5411: $? = 0 configure:5423: result: yes configure:5446: checking how to run the C preprocessor configure:5514: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp configure:5528: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5528: $? = 0 configure:5543: /home/buildroot/autobuild/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:5543: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_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:5585: checking for a sed that does not truncate output configure:5655: result: /bin/sed configure:5663: checking for code coverage support configure:5679: result: no configure:5844: checking whether build environment is sane configure:5899: result: yes configure:5951: checking for riscv64-buildroot-linux-gnu-strip configure:5983: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-strip configure:6054: checking for a race-free mkdir -p configure:6098: result: /bin/mkdir -p configure:6105: checking for gawk configure:6126: found /usr/bin/gawk configure:6137: result: gawk configure:6148: checking whether make sets $(MAKE) configure:6171: result: yes configure:6193: checking whether make supports the include directive configure:6208: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0' make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0' this is the am__doit target configure:6211: $? = 0 configure:6230: result: yes (GNU style) configure:6327: checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc configure:6439: result: none configure:6516: checking curl version configure:6518: result: 7.81.0 configure:6765: checking build system type configure:6780: result: x86_64-pc-linux-gnu configure:6800: checking host system type configure:6814: result: riscv64-buildroot-linux-gnu configure:6844: checking for grep that handles long lines and -e configure:6908: result: /bin/grep configure:6913: checking for egrep configure:6981: result: /bin/grep -E configure:6988: checking if OS is AIX (to define _ALL_SOURCE) configure:7009: result: no configure:7019: checking if _THREAD_SAFE is already defined configure:7040: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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:7040: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_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:7049: result: no configure:7057: checking if _THREAD_SAFE is actually needed configure:7076: result: no configure:7081: checking if _THREAD_SAFE is onwards defined configure:7098: result: no configure:7105: checking if _REENTRANT is already defined configure:7126: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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:7126: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_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:7135: result: no configure:7143: checking if _REENTRANT is actually needed configure:7174: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7174: $? = 0 configure:7206: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7206: $? = 0 configure:7279: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7279: $? = 0 configure:7361: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7361: $? = 0 configure:7443: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7443: $? = 0 configure:7525: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7525: $? = 0 configure:7607: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7607: $? = 0 configure:7689: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7689: $? = 0 configure:7748: result: no configure:7753: checking if _REENTRANT is onwards defined configure:7770: result: no configure:7784: checking for special C compiler options needed for large files configure:7831: result: no configure:7837: checking for _FILE_OFFSET_BITS value needed for large files configure:7862: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7862: $? = 0 configure:7895: result: no configure:8023: checking how to print strings configure:8050: result: printf configure:8071: checking for a sed that does not truncate output configure:8141: result: /bin/sed configure:8159: checking for fgrep configure:8227: result: /bin/grep -F configure:8263: checking for ld used by /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc configure:8331: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld configure:8338: checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld) is GNU ld configure:8354: result: yes configure:8366: checking for BSD- or MS-compatible name lister (nm) configure:8421: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm configure:8561: checking the name lister (/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm) interface configure:8569: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8572: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm "conftest.o" configure:8575: output 0000000000000000 B some_variable configure:8582: result: BSD nm configure:8585: checking whether ln -s works configure:8589: result: yes configure:8597: checking the maximum length of command line arguments configure:8729: result: 1572864 configure:8777: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-gnu format configure:8818: result: func_convert_file_noop configure:8825: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8846: result: func_convert_file_noop configure:8853: checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld option to reload object files configure:8861: result: -r configure:8895: checking for riscv64-buildroot-linux-gnu-objdump configure:8927: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-objdump configure:9001: checking how to recognize dependent libraries configure:9202: result: pass_all configure:9247: checking for riscv64-buildroot-linux-gnu-dlltool configure:9282: result: no configure:9292: checking for dlltool configure:9327: result: no configure:9354: checking how to associate runtime and link libraries configure:9382: result: printf %s\n configure:9398: checking for riscv64-buildroot-linux-gnu-ar configure:9430: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ar configure:9516: checking for archiver @FILE support configure:9533: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9533: $? = 0 configure:9537: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ar cr libconftest.a @conftest.lst >&5 configure:9540: $? = 0 configure:9545: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ar cr libconftest.a @conftest.lst >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ar: conftest.o: No such file or directory configure:9548: $? = 1 configure:9560: result: @ configure:9578: checking for riscv64-buildroot-linux-gnu-strip configure:9610: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-strip configure:9687: checking for riscv64-buildroot-linux-gnu-ranlib configure:9719: result: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib configure:9866: checking command to parse /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm output from /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc object configure:10020: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10023: $? = 0 configure:10027: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm configure:10093: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:10096: $? = 0 configure:10134: result: ok configure:10181: checking for sysroot configure:10212: result: no configure:10219: checking for a working dd configure:10263: result: /bin/dd configure:10267: checking how to truncate binary pipes configure:10283: result: /bin/dd bs=4096 count=1 configure:10574: checking for riscv64-buildroot-linux-gnu-mt configure:10609: result: no configure:10619: checking for mt configure:10640: found /bin/mt configure:10651: result: mt configure:10663: WARNING: using cross tools not prefixed with host triplet configure:10674: checking if mt is a manifest tool configure:10681: mt '-?' configure:10689: result: no configure:11418: checking for stdio.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for stdlib.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for string.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for inttypes.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for stdint.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for strings.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for sys/stat.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for sys/types.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11418: checking for unistd.h configure:11418: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11418: $? = 0 configure:11418: result: yes configure:11443: checking for dlfcn.h configure:11443: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11443: $? = 0 configure:11443: result: yes configure:12137: checking for objdir configure:12153: result: .libs configure:12417: checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions configure:12436: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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:12440: $? = 0 configure:12453: result: no configure:12817: checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc option to produce PIC configure:12825: result: -fPIC -DPIC configure:12833: checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works configure:12852: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:12856: $? = 0 configure:12869: result: yes configure:12898: checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc static flag -static works configure:12927: result: yes configure:12942: checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:12964: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:12968: $? = 0 configure:12990: result: yes configure:12998: checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:13046: result: yes configure:13079: checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld) supports shared libraries configure:14347: result: yes configure:14384: checking whether -lc should be explicitly linked in configure:14393: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14396: $? = 0 configure:14411: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:14414: $? = 0 configure:14428: result: no configure:14588: checking dynamic linker characteristics configure:15169: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:15169: $? = 0 configure:15420: result: GNU/Linux ld.so configure:15542: checking how to hardcode library paths into programs configure:15567: result: immediate configure:16119: checking whether stripping libraries is possible configure:16124: result: yes configure:16159: checking if libtool supports shared libraries configure:16161: result: yes configure:16164: checking whether to build shared libraries configure:16189: result: yes configure:16192: checking whether to build static libraries configure:16196: result: no configure:16267: checking whether to build shared libraries with -version-info configure:16278: result: yes configure:16285: checking whether to build shared libraries with -no-undefined configure:16298: result: no configure:16305: checking whether to build shared libraries with -mimpure-text configure:16315: result: no configure:16342: checking whether to build shared libraries with PIC configure:16344: result: yes configure:16346: checking whether to build static libraries with PIC configure:16348: result: no configure:16355: checking whether to build shared libraries only configure:16363: result: yes configure:16370: checking whether to build static libraries only configure:16378: result: no configure:16468: checking for inline configure:16485: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16485: $? = 0 configure:16494: result: inline configure:16515: checking if cpp -P is needed configure:16533: result: yes configure:16537: checking if cpp -P works configure:16557: result: yes configure:16588: checking if compiler is DEC/Compaq/HP C configure:16612: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16612: $? = 0 configure:16657: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16657: $? = 0 configure:16690: result: no configure:16695: checking if compiler is HP-UX C configure:16719: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16719: $? = 0 configure:16751: result: no configure:16756: checking if compiler is IBM C configure:16780: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16780: $? = 0 configure:16820: result: no configure:16825: checking if compiler is Intel C configure:16849: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16849: $? = 0 configure:16935: result: no configure:16940: checking if compiler is clang configure:16964: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:16964: $? = 0 configure:17063: result: no configure:17068: checking if compiler is GNU C configure:17092: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17092: $? = 0 configure:17117: result: yes configure:17150: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17150: $? = 0 configure:17179: checking if compiler is LCC configure:17203: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17203: $? = 0 configure:17235: result: no configure:17240: checking if compiler is SGI MIPSpro C configure:17264: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17264: $? = 0 configure:17309: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17309: $? = 0 configure:17354: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17354: $? = 0 configure:17388: result: no configure:17393: checking if compiler is SGI MIPS C configure:17417: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17417: $? = 0 configure:17462: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17462: $? = 0 configure:17496: result: no configure:17501: checking if compiler is SunPro C configure:17525: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17525: $? = 0 configure:17557: result: no configure:17562: checking if compiler is Tiny C configure:17586: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17586: $? = 0 configure:17618: result: no configure:17623: checking if compiler is Watcom C configure:17647: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:17647: $? = 0 configure:17732: result: no configure:17866: checking if compiler accepts some basic options configure:17890: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17890: $? = 0 configure:17921: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17921: $? = 0 configure:17995: result: yes configure:17997: compiler options added: -Werror-implicit-function-declaration configure:18058: checking if compiler optimizer assumed setting might be used configure:18096: result: no configure:19600: checking if compiler accepts strict warning options configure:19624: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:19624: $? = 0 configure:19655: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:19655: $? = 0 configure:19729: result: yes configure:19731: compiler options added: -Wno-system-headers -Wenum-conversion configure:19772: checking if compiler halts on compilation errors configure:19789: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:19789: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:19798: result: yes configure:19805: checking if compiler halts on negative sized arrays configure:19823: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:19823: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 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:19832: result: yes configure:19839: checking if compiler halts on function prototype mismatch configure:19868: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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'; have 'int(int)' 27 | int rand(int n); | ^~~~ In file included from conftest.c:26: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' with type 'int(void)' 453 | extern int rand (void) __THROW; | ^~~~ conftest.c:28:11: error: conflicting types for 'rand'; have 'int(int)' 28 | int rand(int n) | ^~~~ In file included from conftest.c:26: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:453:12: note: previous declaration of 'rand' with type 'int(void)' 453 | extern int rand (void) __THROW; | ^~~~ configure:19868: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 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:19877: result: yes configure:19884: checking if compiler supports hiding library internal symbols configure:20008: result: no configure:20152: checking for windows.h configure:20183: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20183: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 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:20196: result: no configure:20207: checking whether build target is a native Windows one configure:20251: result: no configure:20559: checking whether build target supports WIN32 file API configure:20642: result: no configure:20648: checking whether build target supports WIN32 crypto API configure:20696: result: no configure:20711: checking for good-to-use Darwin CFLAGS configure:20713: result: no configure:20745: checking whether to link macOS CoreFoundation and SystemConfiguration framework configure:20790: result: no configure:20795: checking to see if the compiler supports __builtin_available() configure:20813: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 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:20824: result: no configure:20832: checking whether to support http configure:20871: result: yes configure:20876: checking whether to support ftp configure:20896: result: yes configure:20901: checking whether to support file configure:20921: result: yes configure:20926: checking whether to support ldap configure:20933: result: no configure:20958: checking whether to support ldaps configure:20965: result: no configure:21316: checking whether to support rtsp configure:21323: result: no configure:21355: checking whether to support proxies configure:21362: result: no configure:21382: checking whether to support dict configure:21389: result: no configure:21407: checking whether to support telnet configure:21414: result: no configure:21432: checking whether to support tftp configure:21439: result: no configure:21458: checking whether to support pop3 configure:21465: result: no configure:21485: checking whether to support imap configure:21492: result: no configure:21512: checking whether to support smb configure:21519: result: no configure:21538: checking whether to support smtp configure:21545: result: no configure:21564: checking whether to support gopher configure:21571: result: no configure:21590: checking whether to support mqtt configure:21610: result: no configure:21617: checking whether to provide built-in manual configure:21624: result: no configure:21640: checking whether to enable generation of C code configure:21647: result: no configure:21666: checking whether to use libgcc configure:21682: result: no configure:21689: checking if X/Open network library is required configure:21709: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:46:3: error: unknown type name 'force' 46 | force compilation error | ^~~~~ conftest.c:46:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 46 | force compilation error | ^~~~~ conftest.c:48:1: error: expected declaration or statement at end of input 48 | } | ^ configure:21709: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | /* end confdefs.h. */ | | | int main (void) | { | #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600) | return 0; | #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED) | return 0; | #else | force compilation error | #endif | } | | configure:21717: result: no configure:21721: checking for gethostbyname configure:21721: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:21721: $? = 0 configure:21721: result: yes configure:22193: checking for windows.h configure:22237: result: no configure:22248: checking for winsock2.h configure:22293: result: no configure:22312: checking for proto/bsdsocket.h configure:22312: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44:10: fatal error: proto/bsdsocket.h: No such file or directory 44 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:22312: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | /* end confdefs.h. */ | /* includes start */ | #ifdef HAVE_PROTO_BSDSOCKET_H | # include | struct Library *SocketBase = NULL; | #endif | /* includes end */ | | #include configure:22312: result: no configure:22322: checking for connect in libraries configure:22350: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:22350: $? = 0 configure:22369: result: yes configure:22383: checking for sys/types.h configure:22383: result: yes configure:22389: checking for sys/time.h configure:22389: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:22389: $? = 0 configure:22389: result: yes configure:22396: checking for monotonic clock_gettime configure:22423: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:22423: $? = 0 configure:22426: result: yes configure:22444: checking for clock_gettime in libraries configure:22480: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:22480: $? = 0 configure:22502: result: no additional lib required configure:22744: checking for zlib options with pkg-config configure:22758: result: found configure:22826: checking for zlib.h configure:22826: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:22826: $? = 0 configure:22826: result: yes configure:22917: found both libz and libz.h header configure:23380: checking for ZSTD_createDStream in -lzstd configure:23403: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lzstd -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lzstd collect2: error: ld returned 1 exit status configure:23403: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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:23413: result: no configure:23426: checking for zstd.h configure:23426: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:70:10: fatal error: zstd.h: No such file or directory 70 | #include | ^~~~~~~~ compilation terminated. configure:23426: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:23426: result: no configure:24108: checking whether to enable IPv6 configure:24119: result: yes configure:24185: checking if struct sockaddr_in6 has sin6_scope_id member configure:24211: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:24211: $? = 0 configure:24214: result: yes configure:24230: checking if argv can be written to configure:24285: result: no configure:24287: WARNING: the previous check could not be made default was used configure:24332: checking if GSS-API support is requested configure:24598: result: no configure:24831: checking whether to enable Windows native SSL/TLS configure:24860: result: no configure:24865: checking whether to enable Secure Transport configure:24887: result: no configure:24893: checking whether to enable Amiga native SSL/TLS (AmiSSL) configure:24921: result: no configure:24981: PKG_CONFIG_LIBDIR will be set to "/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig" configure:25130: checking for openssl options with pkg-config configure:25144: result: found configure:25173: pkg-config: SSL_LIBS: "-lssl -lcrypto " configure:25175: pkg-config: SSL_LDFLAGS: "-L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib " configure:25177: pkg-config: SSL_CPPFLAGS: "" configure:25189: checking for HMAC_Update in -lcrypto configure:25212: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lz >&5 configure:25212: $? = 0 configure:25222: result: yes configure:25366: checking for SSL_connect in -lssl configure:25389: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:25389: $? = 0 configure:25399: result: yes configure:25472: checking for openssl/x509.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25472: checking for openssl/rsa.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25472: checking for openssl/crypto.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25472: checking for openssl/pem.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25472: checking for openssl/ssl.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25472: checking for openssl/err.h configure:25472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:25472: $? = 0 configure:25472: result: yes configure:25548: checking for RAND_egd configure:25548: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgLqDkk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `RAND_egd' collect2: error: ld returned 1 exit status configure:25548: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #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:25548: result: no configure:25556: checking for BoringSSL configure:25576: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:59:26: fatal error: openssl/base.h: No such file or directory 59 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:25576: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #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. */ | | | #include | | int main (void) | { | | #ifndef OPENSSL_IS_BORINGSSL | #error not boringssl | #endif | | ; | return 0; | } | configure:25588: result: no configure:25594: checking for libressl configure:25612: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:64:21: error: 'LIBRESSL_VERSION_NUMBER' undeclared (first use in this function); did you mean 'OPENSSL_VERSION_NUMBER'? 64 | int dummy = LIBRESSL_VERSION_NUMBER; | ^~~~~~~~~~~~~~~~~~~~~~~ | OPENSSL_VERSION_NUMBER conftest.c:64:21: note: each undeclared identifier is reported only once for each function it appears in configure:25612: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #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. */ | | | #include | | int main (void) | { | | int dummy = LIBRESSL_VERSION_NUMBER; | | ; | return 0; | } | configure:25624: result: no configure:25630: checking for OpenSSL >= v3 configure:25652: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:67:10: error: #error older than 3 67 | #error older than 3 | ^~~~~ configure:25652: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #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. */ | | | #include | | int main (void) | { | | #if defined(OPENSSL_VERSION_MAJOR) && (OPENSSL_VERSION_MAJOR >= 3) | return 0; | #else | #error older than 3 | #endif | | ; | return 0; | } | configure:25665: result: no configure:25687: checking for OpenSSL headers version configure:25717: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:25717: $? = 0 configure:25764: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -P conftest.c configure:25764: $? = 0 configure:25840: result: 1.1.1 - 0x111 configure:25849: checking for OpenSSL library version configure:25879: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccbAZGUB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `SSL_CTX_load_verify_dir' collect2: error: ld returned 1 exit status configure:25879: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #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 SSL_CTX_load_verify_dir innocuous_SSL_CTX_load_verify_dir | #ifdef __STDC__ | # include | #else | # include | #endif | #undef SSL_CTX_load_verify_dir | #ifdef __cplusplus | extern "C" | #endif | char SSL_CTX_load_verify_dir (); | #if defined __stub_SSL_CTX_load_verify_dir || defined __stub___SSL_CTX_load_verify_dir | choke me | #endif | | int main (void) | { | return SSL_CTX_load_verify_dir (); | ; | return 0; | } | configure:25916: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:25916: $? = 0 configure:26428: result: 1.1.1 configure:26436: checking for OpenSSL headers and library versions matching configure:26446: result: yes configure:26532: checking for SRP_Calc_client_key in -lcrypto configure:26555: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:26555: $? = 0 configure:26565: result: yes configure:28490: built with one SSL backend configure:28530: checking default CA cert bundle/path configure:28650: result: /etc/ssl/certs (capath) configure:28658: checking whether to use builtin CA store of SSL library configure:28673: result: no configure:28697: checking for library containing psl_builtin configure:28727: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccB6KrSW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `psl_builtin' collect2: error: ld returned 1 exit status configure:28727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 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:28727: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lpsl -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lpsl collect2: error: ld returned 1 exit status configure:28727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 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:28747: result: no configure:28760: WARNING: libpsl was not found configure:28788: checking for library containing gsasl_init configure:28818: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccTtp6Z6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gsasl_init' collect2: error: ld returned 1 exit status configure:28818: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 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:28818: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lgsasl -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lgsasl collect2: error: ld returned 1 exit status configure:28818: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 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:28838: result: no configure:28851: WARNING: libgsasl was not found configure:29676: checking for RTMP_Init in -lrtmp configure:29699: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:29699: $? = 0 configure:29709: result: yes configure:29716: checking for librtmp/rtmp.h configure:29716: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:29716: $? = 0 configure:29716: result: yes configure:29749: checking whether versioned symbols are wanted configure:29796: result: no configure:29815: checking whether to enable Windows native IDN (Windows native builds only) configure:29828: result: no configure:29952: checking whether to build with libidn2 configure:29965: result: no configure:30837: checking for libngtcp2 options with pkg-config configure:30848: result: no configure:32212: checking for fish options with pkg-config configure:32223: result: no configure:32245: checking for malloc.h configure:32271: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32271: $? = 0 configure:32284: result: yes configure:32310: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32310: $? = 0 configure:32332: checking for memory.h configure:32358: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:70:19: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] 70 | void *p = malloc(10); | ^~~~~~ conftest.c:66:1: note: include '' or provide a declaration of 'malloc' 65 | #include 66 | conftest.c:70:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 70 | void *p = malloc(10); | ^~~~~~ conftest.c:70:19: note: include '' or provide a declaration of 'malloc' conftest.c:71:19: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 71 | void *q = calloc(10,10); | ^~~~~~ conftest.c:71:19: note: include '' or provide a declaration of 'calloc' conftest.c:71:19: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] conftest.c:71:19: note: include '' or provide a declaration of 'calloc' conftest.c:72:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] 72 | free(p); | ^~~~ conftest.c:72:9: note: include '' or provide a declaration of 'free' conftest.c:72:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] conftest.c:72:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors configure:32358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | void *p = malloc(10); | void *q = calloc(10,10); | free(p); | free(q); | | ; | return 0; | } | configure:32371: result: no configure:32419: checking for sys/types.h configure:32419: result: yes configure:32451: checking for sys/time.h configure:32451: result: yes configure:32483: checking for sys/select.h configure:32483: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32483: $? = 0 configure:32483: result: yes configure:32515: checking for sys/socket.h configure:32515: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32515: $? = 0 configure:32515: result: yes configure:32547: checking for sys/ioctl.h configure:32547: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32547: $? = 0 configure:32547: result: yes configure:32579: checking for sys/uio.h configure:32579: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32579: $? = 0 configure:32579: result: yes configure:32611: checking for assert.h configure:32611: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32611: $? = 0 configure:32611: result: yes configure:32643: checking for unistd.h configure:32643: result: yes configure:32675: checking for stdlib.h configure:32675: result: yes configure:32707: checking for arpa/inet.h configure:32707: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32707: $? = 0 configure:32707: result: yes configure:32739: checking for net/if.h configure:32739: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32739: $? = 0 configure:32739: result: yes configure:32771: checking for netinet/in.h configure:32771: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32771: $? = 0 configure:32771: result: yes configure:32803: checking for netinet/in6.h configure:32803: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:102:10: fatal error: netinet/in6.h: No such file or directory 102 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:32803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 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:32803: result: no configure:32835: checking for sys/un.h configure:32835: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32835: $? = 0 configure:32835: result: yes configure:32867: checking for linux/tcp.h configure:32867: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32867: $? = 0 configure:32867: result: yes configure:32899: checking for netinet/tcp.h configure:32899: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32899: $? = 0 configure:32899: result: yes configure:32931: checking for netdb.h configure:32931: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:32931: $? = 0 configure:32931: result: yes configure:32963: checking for sys/sockio.h configure:32963: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:106:10: fatal error: sys/sockio.h: No such file or directory 106 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:32963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 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:32963: result: no configure:32995: checking for sys/stat.h configure:32995: result: yes configure:33027: checking for sys/param.h configure:33027: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33027: $? = 0 configure:33027: result: yes configure:33059: checking for termios.h configure:33059: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33059: $? = 0 configure:33059: result: yes configure:33091: checking for termio.h configure:33091: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33091: $? = 0 configure:33091: result: yes configure:33123: checking for fcntl.h configure:33123: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33123: $? = 0 configure:33123: result: yes configure:33155: checking for alloca.h configure:33155: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33155: $? = 0 configure:33155: result: yes configure:33187: checking for io.h configure:33187: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:112:10: fatal error: io.h: No such file or directory 112 | #include | ^~~~~~ compilation terminated. configure:33187: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:33187: result: no configure:33219: checking for pwd.h configure:33219: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33219: $? = 0 configure:33219: result: yes configure:33251: checking for utime.h configure:33251: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33251: $? = 0 configure:33251: result: yes configure:33283: checking for sys/utime.h configure:33283: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:114:10: fatal error: sys/utime.h: No such file or directory 114 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:33283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:33283: result: no configure:33315: checking for sys/poll.h configure:33315: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33315: $? = 0 configure:33315: result: yes configure:33347: checking for poll.h configure:33347: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33347: $? = 0 configure:33347: result: yes configure:33379: checking for socket.h configure:33379: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:116:10: fatal error: socket.h: No such file or directory 116 | #include | ^~~~~~~~~~ compilation terminated. configure:33379: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:33379: result: no configure:33411: checking for sys/resource.h configure:33411: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33411: $? = 0 configure:33411: result: yes configure:33443: checking for libgen.h configure:33443: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33443: $? = 0 configure:33443: result: yes configure:33475: checking for locale.h configure:33475: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33475: $? = 0 configure:33475: result: yes configure:33507: checking for errno.h configure:33507: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33507: $? = 0 configure:33507: result: yes configure:33539: checking for stdbool.h configure:33539: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33539: $? = 0 configure:33539: result: yes configure:33571: checking for arpa/tftp.h configure:33571: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33571: $? = 0 configure:33571: result: yes configure:33603: checking for sys/filio.h configure:33603: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:122:10: fatal error: sys/filio.h: No such file or directory 122 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:33603: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:33603: result: no configure:33635: checking for sys/wait.h configure:33635: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33635: $? = 0 configure:33635: result: yes configure:33667: checking for setjmp.h configure:33667: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33667: $? = 0 configure:33667: result: yes configure:33702: checking for an ANSI C-conforming const configure:33768: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33768: $? = 0 configure:33776: result: yes configure:33785: checking for compiler support of C99 variadic macro style configure:33816: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33816: $? = 0 configure:33829: result: yes configure:33838: checking for compiler support of old gcc variadic macro style configure:33869: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33869: $? = 0 configure:33882: result: yes configure:33892: checking for size_t configure:33892: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33892: $? = 0 configure:33892: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:21: error: expected expression before ')' token 129 | if (sizeof ((size_t))) | ^ configure:33892: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:33892: result: yes configure:33904: checking for sys/types.h configure:33904: result: yes configure:33910: checking for sys/time.h configure:33910: result: yes configure:33916: checking for sys/socket.h configure:33916: result: yes configure:33923: checking for struct timeval configure:33967: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:33967: $? = 0 configure:33980: result: yes configure:34042: checking size of size_t configure:34062: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:109:20: error: duplicate case value 109 | switch (0) case 0: case (sizeof (size_t) == 4):; | ^~~~ conftest.c:109:12: note: previously used here 109 | switch (0) case 0: case (sizeof (size_t) == 4):; | ^~~~ configure:34062: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34062: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34062: $? = 0 configure:34075: result: 8 configure:34081: checking size of long configure:34101: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:110:20: error: duplicate case value 110 | switch (0) case 0: case (sizeof (long) == 4):; | ^~~~ conftest.c:110:12: note: previously used here 110 | switch (0) case 0: case (sizeof (long) == 4):; | ^~~~ configure:34101: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34101: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34101: $? = 0 configure:34114: result: 8 configure:34120: checking size of int configure:34140: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34140: $? = 0 configure:34153: result: 4 configure:34159: checking size of short configure:34179: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20: error: duplicate case value 112 | switch (0) case 0: case (sizeof (short) == 4):; | ^~~~ conftest.c:112:12: note: previously used here 112 | switch (0) case 0: case (sizeof (short) == 4):; | ^~~~ configure:34179: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34179: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20: error: duplicate case value 112 | switch (0) case 0: case (sizeof (short) == 8):; | ^~~~ conftest.c:112:12: note: previously used here 112 | switch (0) case 0: case (sizeof (short) == 8):; | ^~~~ configure:34179: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34179: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20: error: duplicate case value 112 | switch (0) case 0: case (sizeof (short) == 1):; | ^~~~ conftest.c:112:12: note: previously used here 112 | switch (0) case 0: case (sizeof (short) == 1):; | ^~~~ configure:34179: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34179: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34179: $? = 0 configure:34192: result: 2 configure:34198: checking size of time_t configure:34218: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:113:20: error: duplicate case value 113 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ conftest.c:113:12: note: previously used here 113 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ configure:34218: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34218: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34218: $? = 0 configure:34231: result: 8 configure:34237: checking size of off_t configure:34257: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:20: error: duplicate case value 114 | switch (0) case 0: case (sizeof (off_t) == 4):; | ^~~~ conftest.c:114:12: note: previously used here 114 | switch (0) case 0: case (sizeof (off_t) == 4):; | ^~~~ configure:34257: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34257: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34257: $? = 0 configure:34270: result: 8 configure:34279: checking size of curl_off_t configure:34301: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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:117:20: error: duplicate case value 117 | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ^~~~ conftest.c:117:12: note: previously used here 117 | switch (0) case 0: case (sizeof (curl_off_t) == 4):; | ^~~~ configure:34301: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34301: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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:34301: $? = 0 configure:34314: result: 8 configure:34322: checking for long long configure:34322: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34322: $? = 0 configure:34322: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:140:24: error: expected expression before ')' token 140 | if (sizeof ((long long))) | ^ configure:34322: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:34322: result: yes configure:34334: checking if numberLL works configure:34351: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34351: $? = 0 configure:34354: result: yes configure:34371: checking for ssize_t configure:34371: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34371: $? = 0 configure:34371: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:142:22: error: expected expression before ')' token 142 | if (sizeof ((ssize_t))) | ^ configure:34371: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:34371: result: yes configure:34383: checking for bool configure:34383: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34383: $? = 0 configure:34383: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:123:19: error: expected expression before ')' token 123 | if (sizeof ((bool))) | ^ configure:34383: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34383: result: yes configure:34403: checking for sa_family_t configure:34403: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34403: $? = 0 configure:34403: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:121:26: error: expected expression before ')' token 121 | if (sizeof ((sa_family_t))) | ^ configure:34403: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34403: result: yes configure:34439: checking for suseconds_t configure:34439: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34439: $? = 0 configure:34439: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:26: error: expected expression before ')' token 125 | if (sizeof ((suseconds_t))) | ^ configure:34439: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34439: result: yes configure:34458: checking if time_t is unsigned configure:34472: result: no configure:34518: checking for sys/types.h configure:34518: result: yes configure:34525: checking for poll.h configure:34525: result: yes configure:34532: checking for sys/poll.h configure:34532: result: yes configure:34565: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:7: error: unknown type name 'force' 138 | force compilation error | ^~~~~ conftest.c:138:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 138 | force compilation error | ^~~~~ configure:34565: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34590: checking for in_addr_t configure:34590: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34590: $? = 0 configure:34590: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:146:24: error: expected expression before ')' token 146 | if (sizeof ((in_addr_t))) | ^ configure:34590: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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 ((in_addr_t))) | return 0; | ; | return 0; | } configure:34590: result: yes configure:34699: checking for struct sockaddr_storage configure:34699: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34699: $? = 0 configure:34699: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:146:38: error: expected expression before ')' token 146 | if (sizeof ((struct sockaddr_storage))) | ^ configure:34699: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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:34699: result: yes configure:34735: checking for sys/select.h configure:34735: result: yes configure:34741: checking for sys/socket.h configure:34741: result: yes configure:34749: checking for select configure:34798: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:34798: $? = 0 configure:34801: result: yes configure:34816: checking types of args and return type for select configure:34896: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:34896: $? = 0 configure:34910: result: int,fd_set *,struct timeval *,int configure:34980: checking for sys/types.h configure:34980: result: yes configure:34986: checking for sys/socket.h configure:34986: result: yes configure:34994: checking for recv configure:35032: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35032: $? = 0 configure:35035: result: yes configure:35050: checking types of args and return type for recv configure:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, size_t, int)' {aka 'int(int, char *, long unsigned int, int)'} 156 | recv(int, char *, size_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, size_t, unsigned int)' {aka 'int(int, char *, long unsigned int, unsigned int)'} 156 | recv(int, char *, size_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, int, int)' 156 | recv(int, char *, int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, int, unsigned int)' 156 | recv(int, char *, int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, socklen_t, int)' {aka 'int(int, char *, unsigned int, int)'} 156 | recv(int, char *, socklen_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, socklen_t, unsigned int)' {aka 'int(int, char *, unsigned int, unsigned int)'} 156 | recv(int, char *, socklen_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, unsigned int, int)' 156 | recv(int, char *, unsigned int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, char *, unsigned int, unsigned int)' 156 | recv(int, char *, unsigned int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, size_t, int)' {aka 'int(int, void *, long unsigned int, int)'} 156 | recv(int, void *, size_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, size_t, unsigned int)' {aka 'int(int, void *, long unsigned int, unsigned int)'} 156 | recv(int, void *, size_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, int, int)' 156 | recv(int, void *, int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, int, unsigned int)' 156 | recv(int, void *, int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, socklen_t, int)' {aka 'int(int, void *, unsigned int, int)'} 156 | recv(int, void *, socklen_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, socklen_t, unsigned int)' {aka 'int(int, void *, unsigned int, unsigned int)'} 156 | recv(int, void *, socklen_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, unsigned int, int)' 156 | recv(int, void *, unsigned int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(int, void *, unsigned int, unsigned int)' 156 | recv(int, void *, unsigned int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, size_t, int)' {aka 'int(long int, char *, long unsigned int, int)'} 156 | recv(ssize_t, char *, size_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, size_t, unsigned int)' {aka 'int(long int, char *, long unsigned int, unsigned int)'} 156 | recv(ssize_t, char *, size_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, int, int)' {aka 'int(long int, char *, int, int)'} 156 | recv(ssize_t, char *, int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, int, unsigned int)' {aka 'int(long int, char *, int, unsigned int)'} 156 | recv(ssize_t, char *, int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, socklen_t, int)' {aka 'int(long int, char *, unsigned int, int)'} 156 | recv(ssize_t, char *, socklen_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, socklen_t, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'} 156 | recv(ssize_t, char *, socklen_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, unsigned int, int)' {aka 'int(long int, char *, unsigned int, int)'} 156 | recv(ssize_t, char *, unsigned int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, unsigned int, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'} 156 | recv(ssize_t, char *, unsigned int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, size_t, int)' {aka 'int(long int, void *, long unsigned int, int)'} 156 | recv(ssize_t, void *, size_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, size_t, unsigned int)' {aka 'int(long int, void *, long unsigned int, unsigned int)'} 156 | recv(ssize_t, void *, size_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, int, int)' {aka 'int(long int, void *, int, int)'} 156 | recv(ssize_t, void *, int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, int, unsigned int)' {aka 'int(long int, void *, int, unsigned int)'} 156 | recv(ssize_t, void *, int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, socklen_t, int)' {aka 'int(long int, void *, unsigned int, int)'} 156 | recv(ssize_t, void *, socklen_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, socklen_t, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'} 156 | recv(ssize_t, void *, socklen_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, unsigned int, int)' {aka 'int(long int, void *, unsigned int, int)'} 156 | recv(ssize_t, void *, unsigned int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, unsigned int, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'} 156 | recv(ssize_t, void *, unsigned int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'char' 156 | recv(SOCKET, char *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:35: error: expected ')' before 'void' 156 | recv(SOCKET, void *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' 162 | SOCKET s=0; | ^~~~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, size_t, int)' {aka 'long int(int, char *, long unsigned int, int)'} 156 | recv(int, char *, size_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, size_t, unsigned int)' {aka 'long int(int, char *, long unsigned int, unsigned int)'} 156 | recv(int, char *, size_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, int, int)' {aka 'long int(int, char *, int, int)'} 156 | recv(int, char *, int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, int, unsigned int)' {aka 'long int(int, char *, int, unsigned int)'} 156 | recv(int, char *, int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, socklen_t, int)' {aka 'long int(int, char *, unsigned int, int)'} 156 | recv(int, char *, socklen_t, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, socklen_t, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'} 156 | recv(int, char *, socklen_t, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, unsigned int, int)' {aka 'long int(int, char *, unsigned int, int)'} 156 | recv(int, char *, unsigned int, int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:156:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, unsigned int, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'} 156 | recv(int, char *, unsigned int, unsigned int); | ^~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:343, from conftest.c:150: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | ^~~~ configure:35110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_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 | #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:35110: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:35110: $? = 0 configure:35125: result: int,void *,size_t,int,ssize_t configure:35161: checking for sys/types.h configure:35161: result: yes configure:35167: checking for sys/socket.h configure:35167: result: yes configure:35175: checking for send configure:35213: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35213: $? = 0 configure:35216: result: yes configure:35231: checking types of args and return type for send configure:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, size_t, int)' {aka 'int(int, char *, long unsigned int, int)'} 164 | send(int, char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, size_t, unsigned int)' {aka 'int(int, char *, long unsigned int, unsigned int)'} 164 | send(int, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, int, int)' 164 | send(int, char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, int, unsigned int)' 164 | send(int, char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, socklen_t, int)' {aka 'int(int, char *, unsigned int, int)'} 164 | send(int, char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, socklen_t, unsigned int)' {aka 'int(int, char *, unsigned int, unsigned int)'} 164 | send(int, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, unsigned int, int)' 164 | send(int, char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, char *, unsigned int, unsigned int)' 164 | send(int, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, size_t, int)' {aka 'int(int, void *, long unsigned int, int)'} 164 | send(int, void *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, size_t, unsigned int)' {aka 'int(int, void *, long unsigned int, unsigned int)'} 164 | send(int, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, int, int)' 164 | send(int, void *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, int, unsigned int)' 164 | send(int, void *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, socklen_t, int)' {aka 'int(int, void *, unsigned int, int)'} 164 | send(int, void *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, socklen_t, unsigned int)' {aka 'int(int, void *, unsigned int, unsigned int)'} 164 | send(int, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, unsigned int, int)' 164 | send(int, void *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, void *, unsigned int, unsigned int)' 164 | send(int, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, size_t, int)' {aka 'int(int, const char *, long unsigned int, int)'} 164 | send(int, const char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, size_t, unsigned int)' {aka 'int(int, const char *, long unsigned int, unsigned int)'} 164 | send(int, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, int, int)' 164 | send(int, const char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, int, unsigned int)' 164 | send(int, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, socklen_t, int)' {aka 'int(int, const char *, unsigned int, int)'} 164 | send(int, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, socklen_t, unsigned int)' {aka 'int(int, const char *, unsigned int, unsigned int)'} 164 | send(int, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, unsigned int, int)' 164 | send(int, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const char *, unsigned int, unsigned int)' 164 | send(int, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, size_t, int)' {aka 'int(int, const void *, long unsigned int, int)'} 164 | send(int, const void *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, size_t, unsigned int)' {aka 'int(int, const void *, long unsigned int, unsigned int)'} 164 | send(int, const void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, int, int)' 164 | send(int, const void *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, int, unsigned int)' 164 | send(int, const void *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, socklen_t, int)' {aka 'int(int, const void *, unsigned int, int)'} 164 | send(int, const void *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, socklen_t, unsigned int)' {aka 'int(int, const void *, unsigned int, unsigned int)'} 164 | send(int, const void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, unsigned int, int)' 164 | send(int, const void *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(int, const void *, unsigned int, unsigned int)' 164 | send(int, const void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, size_t, int)' {aka 'int(long int, char *, long unsigned int, int)'} 164 | send(ssize_t, char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, size_t, unsigned int)' {aka 'int(long int, char *, long unsigned int, unsigned int)'} 164 | send(ssize_t, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, int, int)' {aka 'int(long int, char *, int, int)'} 164 | send(ssize_t, char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, int, unsigned int)' {aka 'int(long int, char *, int, unsigned int)'} 164 | send(ssize_t, char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, socklen_t, int)' {aka 'int(long int, char *, unsigned int, int)'} 164 | send(ssize_t, char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, socklen_t, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'} 164 | send(ssize_t, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, unsigned int, int)' {aka 'int(long int, char *, unsigned int, int)'} 164 | send(ssize_t, char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, unsigned int, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'} 164 | send(ssize_t, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, size_t, int)' {aka 'int(long int, void *, long unsigned int, int)'} 164 | send(ssize_t, void *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, size_t, unsigned int)' {aka 'int(long int, void *, long unsigned int, unsigned int)'} 164 | send(ssize_t, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, int, int)' {aka 'int(long int, void *, int, int)'} 164 | send(ssize_t, void *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, int, unsigned int)' {aka 'int(long int, void *, int, unsigned int)'} 164 | send(ssize_t, void *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, socklen_t, int)' {aka 'int(long int, void *, unsigned int, int)'} 164 | send(ssize_t, void *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, socklen_t, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'} 164 | send(ssize_t, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, unsigned int, int)' {aka 'int(long int, void *, unsigned int, int)'} 164 | send(ssize_t, void *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, unsigned int, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'} 164 | send(ssize_t, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, size_t, int)' {aka 'int(long int, const char *, long unsigned int, int)'} 164 | send(ssize_t, const char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, size_t, unsigned int)' {aka 'int(long int, const char *, long unsigned int, unsigned int)'} 164 | send(ssize_t, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, int, int)' {aka 'int(long int, const char *, int, int)'} 164 | send(ssize_t, const char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, int, unsigned int)' {aka 'int(long int, const char *, int, unsigned int)'} 164 | send(ssize_t, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, socklen_t, int)' {aka 'int(long int, const char *, unsigned int, int)'} 164 | send(ssize_t, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, socklen_t, unsigned int)' {aka 'int(long int, const char *, unsigned int, unsigned int)'} 164 | send(ssize_t, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, unsigned int, int)' {aka 'int(long int, const char *, unsigned int, int)'} 164 | send(ssize_t, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, unsigned int, unsigned int)' {aka 'int(long int, const char *, unsigned int, unsigned int)'} 164 | send(ssize_t, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, size_t, int)' {aka 'int(long int, const void *, long unsigned int, int)'} 164 | send(ssize_t, const void *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, size_t, unsigned int)' {aka 'int(long int, const void *, long unsigned int, unsigned int)'} 164 | send(ssize_t, const void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, int, int)' {aka 'int(long int, const void *, int, int)'} 164 | send(ssize_t, const void *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, int, unsigned int)' {aka 'int(long int, const void *, int, unsigned int)'} 164 | send(ssize_t, const void *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, socklen_t, int)' {aka 'int(long int, const void *, unsigned int, int)'} 164 | send(ssize_t, const void *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, socklen_t, unsigned int)' {aka 'int(long int, const void *, unsigned int, unsigned int)'} 164 | send(ssize_t, const void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, unsigned int, int)' {aka 'int(long int, const void *, unsigned int, int)'} 164 | send(ssize_t, const void *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, unsigned int, unsigned int)' {aka 'int(long int, const void *, unsigned int, unsigned int)'} 164 | send(ssize_t, const void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'char' 164 | send(SOCKET, char *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, size_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, size_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, socklen_t, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, socklen_t, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, unsigned int, int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'void' 164 | send(SOCKET, void *, unsigned int, unsigned int); | ^~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, size_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, size_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, socklen_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, socklen_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, unsigned int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const char *, unsigned int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, size_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, size_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, socklen_t, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, socklen_t, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, unsigned int, int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:35: error: expected ')' before 'const' 164 | send(SOCKET, const void *, unsigned int, unsigned int); | ^~~~~~ | ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' 170 | SOCKET s=0; | ^~~~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, size_t, int)' {aka 'long int(int, char *, long unsigned int, int)'} 164 | send(int, char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, size_t, unsigned int)' {aka 'long int(int, char *, long unsigned int, unsigned int)'} 164 | send(int, char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, int, int)' {aka 'long int(int, char *, int, int)'} 164 | send(int, char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, int, unsigned int)' {aka 'long int(int, char *, int, unsigned int)'} 164 | send(int, char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, socklen_t, int)' {aka 'long int(int, char *, unsigned int, int)'} 164 | send(int, char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, socklen_t, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'} 164 | send(int, char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, unsigned int, int)' {aka 'long int(int, char *, unsigned int, int)'} 164 | send(int, char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, unsigned int, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'} 164 | send(int, char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'} 164 | send(int, void *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, size_t, unsigned int)' {aka 'long int(int, void *, long unsigned int, unsigned int)'} 164 | send(int, void *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, int, int)' {aka 'long int(int, void *, int, int)'} 164 | send(int, void *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, int, unsigned int)' {aka 'long int(int, void *, int, unsigned int)'} 164 | send(int, void *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, socklen_t, int)' {aka 'long int(int, void *, unsigned int, int)'} 164 | send(int, void *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, socklen_t, unsigned int)' {aka 'long int(int, void *, unsigned int, unsigned int)'} 164 | send(int, void *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, unsigned int, int)' {aka 'long int(int, void *, unsigned int, int)'} 164 | send(int, void *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, unsigned int, unsigned int)' {aka 'long int(int, void *, unsigned int, unsigned int)'} 164 | send(int, void *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, size_t, int)' {aka 'long int(int, const char *, long unsigned int, int)'} 164 | send(int, const char *, size_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, size_t, unsigned int)' {aka 'long int(int, const char *, long unsigned int, unsigned int)'} 164 | send(int, const char *, size_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, int, int)' {aka 'long int(int, const char *, int, int)'} 164 | send(int, const char *, int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, int, unsigned int)' {aka 'long int(int, const char *, int, unsigned int)'} 164 | send(int, const char *, int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, socklen_t, int)' {aka 'long int(int, const char *, unsigned int, int)'} 164 | send(int, const char *, socklen_t, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, socklen_t, unsigned int)' {aka 'long int(int, const char *, unsigned int, unsigned int)'} 164 | send(int, const char *, socklen_t, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, unsigned int, int)' {aka 'long int(int, const char *, unsigned int, int)'} 164 | send(int, const char *, unsigned int, int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:164:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, unsigned int, unsigned int)' {aka 'long int(int, const char *, unsigned int, unsigned int)'} 164 | send(int, const char *, unsigned int, unsigned int); | ^~~~ In file included from conftest.c:158: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'} 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ configure:35290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_PROTO_BSDSOCKET_H | #include | struct Library *SocketBase = NULL; | #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:35290: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:35290: $? = 0 configure:35305: result: int,const void *,size_t,int,ssize_t configure:35376: checking for sys/types.h configure:35376: result: yes configure:35382: checking for sys/socket.h configure:35382: result: yes configure:35389: checking for MSG_NOSIGNAL configure:35432: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:35432: $? = 0 configure:35445: result: yes configure:35466: checking for sys/types.h configure:35466: result: yes configure:35473: checking for unistd.h configure:35473: result: yes configure:35489: checking if alarm can be linked configure:35518: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35518: $? = 0 configure:35521: result: yes configure:35536: checking if alarm is prototyped configure:35548: result: yes configure:35564: checking if alarm is compilable configure:35583: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:35583: $? = 0 configure:35586: result: yes configure:35601: checking if alarm usage allowed configure:35604: result: yes configure:35614: checking if alarm might be used configure:35620: result: yes configure:35645: checking for sys/types.h configure:35645: result: yes configure:35652: checking for string.h configure:35652: result: yes configure:35659: checking for strings.h configure:35659: result: yes configure:35678: checking for sys/types.h configure:35678: result: yes configure:35685: checking for libgen.h configure:35685: result: yes configure:35701: checking if basename can be linked configure:35730: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:35730: $? = 0 configure:35733: result: yes configure:35748: checking if basename is prototyped configure:35762: result: yes configure:35778: checking if basename is compilable configure:35799: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:35799: $? = 0 configure:35802: result: yes configure:35817: checking if basename usage allowed configure:35820: result: yes configure:35830: checking if basename might be used configure:35836: result: yes configure:35858: checking for sys/types.h configure:35858: result: yes configure:35865: checking for socket.h configure:35865: result: no configure:35881: checking if closesocket can be linked configure:35902: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:188:15: error: implicit declaration of function 'closesocket' [-Werror=implicit-function-declaration] 188 | if(0 != closesocket(0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:35902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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 | # 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:35911: result: no configure:36002: checking if closesocket might be used configure:36015: result: no configure:36030: checking for sys/types.h configure:36030: result: yes configure:36037: checking for sys/socket.h configure:36037: result: yes configure:36053: checking if CloseSocket can be linked configure:36072: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:173:15: error: implicit declaration of function 'CloseSocket' [-Werror=implicit-function-declaration] 173 | if(0 != CloseSocket(0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:36072: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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:36081: result: no configure:36168: checking if CloseSocket might be used configure:36181: result: no configure:36193: checking if connect can be linked configure:36215: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36215: $? = 0 configure:36218: result: yes configure:36233: checking if connect is prototyped configure:36248: result: yes configure:36264: checking if connect is compilable configure:36286: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:36286: $? = 0 configure:36289: result: yes configure:36304: checking if connect usage allowed configure:36307: result: yes configure:36317: checking if connect might be used configure:36323: result: yes configure:36348: checking for sys/types.h configure:36348: result: yes configure:36355: checking for unistd.h configure:36355: result: yes configure:36362: checking for fcntl.h configure:36362: result: yes configure:36378: checking if fcntl can be linked configure:36407: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36407: $? = 0 configure:36410: result: yes configure:36425: checking if fcntl is prototyped configure:36437: result: yes configure:36453: checking if fcntl is compilable configure:36472: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:36472: $? = 0 configure:36475: result: yes configure:36490: checking if fcntl usage allowed configure:36493: result: yes configure:36503: checking if fcntl might be used configure:36509: result: yes configure:36527: checking if fcntl O_NONBLOCK is compilable configure:36547: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:36547: $? = 0 configure:36550: result: yes configure:36565: checking if fcntl O_NONBLOCK usage allowed configure:36568: result: yes configure:36578: checking if fcntl O_NONBLOCK might be used configure:36582: result: yes configure:36617: checking for windows.h configure:36661: result: no configure:36672: checking for winsock2.h configure:36717: result: no configure:36728: checking for ws2tcpip.h configure:36774: result: no configure:36795: checking for sys/types.h configure:36795: result: yes configure:36802: checking for netdb.h configure:36802: result: yes configure:36818: checking if freeaddrinfo can be linked configure:36838: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:36838: $? = 0 configure:36841: result: yes configure:36856: checking if freeaddrinfo is prototyped configure:36870: result: yes configure:36886: checking if freeaddrinfo is compilable configure:36906: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:36906: $? = 0 configure:36909: result: yes configure:36924: checking if freeaddrinfo usage allowed configure:36927: result: yes configure:36937: checking if freeaddrinfo might be used configure:36943: result: yes configure:36965: checking for sys/types.h configure:36965: result: yes configure:36972: checking for sys/xattr.h configure:36972: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:36972: $? = 0 configure:36972: result: yes configure:36989: checking if fsetxattr can be linked configure:37018: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37018: $? = 0 configure:37021: result: yes configure:37036: checking if fsetxattr is prototyped configure:37048: result: yes configure:37065: checking if fsetxattr takes 5 args. configure:37084: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37084: $? = 0 configure:37087: result: yes configure:37138: checking if fsetxattr is compilable configure:37141: result: yes configure:37150: checking if fsetxattr usage allowed configure:37153: result: yes configure:37163: checking if fsetxattr might be used configure:37169: result: yes configure:37199: checking if ftruncate can be linked configure:37228: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37228: $? = 0 configure:37231: result: yes configure:37246: checking if ftruncate is prototyped configure:37258: result: yes configure:37274: checking if ftruncate is compilable configure:37293: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37293: $? = 0 configure:37296: result: yes configure:37311: checking if ftruncate usage allowed configure:37314: result: yes configure:37324: checking if ftruncate might be used configure:37330: result: yes configure:37352: checking for sys/types.h configure:37352: result: yes configure:37359: checking for stdlib.h configure:37359: result: yes configure:37377: checking if getaddrinfo can be linked configure:37398: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37398: $? = 0 configure:37401: result: yes configure:37416: checking if getaddrinfo is prototyped configure:37430: result: yes configure:37446: checking if getaddrinfo is compilable configure:37467: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37467: $? = 0 configure:37470: result: yes configure:37565: checking if getaddrinfo usage allowed configure:37568: result: yes configure:37578: checking if getaddrinfo might be used configure:37585: result: yes configure:37599: checking if getaddrinfo is threadsafe configure:37667: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37667: $? = 0 configure:37710: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37710: $? = 0 configure:37742: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:187:11: error: unknown type name 'force' 187 | force compilation error | ^~~~~ conftest.c:187:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' 187 | force compilation error | ^~~~~ configure:37742: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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:37761: result: yes configure:37780: checking if gethostbyname can be linked configure:37801: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37801: $? = 0 configure:37804: result: yes configure:37819: checking if gethostbyname is prototyped configure:37833: result: yes configure:37849: checking if gethostbyname is compilable configure:37870: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:37870: $? = 0 configure:37873: result: yes configure:37888: checking if gethostbyname usage allowed configure:37891: result: yes configure:37901: checking if gethostbyname might be used configure:37907: result: yes configure:37927: checking if gethostbyname_r can be linked configure:37956: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:37956: $? = 0 configure:37959: result: yes configure:37974: checking if gethostbyname_r is prototyped configure:37986: result: yes configure:38003: checking if gethostbyname_r takes 3 args. configure:38022: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:192:19: error: too few arguments to function 'gethostbyname_r' 192 | if(0 != gethostbyname_r(0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:185: /home/buildroot/autobuild/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:38022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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:38032: result: no configure:38040: checking if gethostbyname_r takes 5 args. configure:38059: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:192:19: error: too few arguments to function 'gethostbyname_r' 192 | if(0 != gethostbyname_r(0, 0, 0, 0, 0)) | ^~~~~~~~~~~~~~~ In file included from conftest.c:185: /home/buildroot/autobuild/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:38059: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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:38069: result: no configure:38077: checking if gethostbyname_r takes 6 args. configure:38096: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38096: $? = 0 configure:38099: result: yes configure:38113: checking if gethostbyname_r is compilable configure:38116: result: yes configure:38125: checking if gethostbyname_r usage allowed configure:38128: result: yes configure:38138: checking if gethostbyname_r might be used configure:38144: result: yes configure:38188: checking if gethostname can be linked configure:38209: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38209: $? = 0 configure:38212: result: yes configure:38227: checking if gethostname is prototyped configure:38241: result: yes configure:38257: checking if gethostname is compilable configure:38278: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38278: $? = 0 configure:38281: result: yes configure:38296: checking for gethostname arg 2 data type configure:38323: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:214:38: error: conflicting types for 'gethostname'; have 'int(char *, int)' 214 | extern int FUNCALLCONV gethostname(char *, int); | ^~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:488, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:201: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:365:1: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 365 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ configure:38323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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 | # 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:38323: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:214:38: error: conflicting types for 'gethostname'; have 'int(char *, unsigned int)' 214 | extern int FUNCALLCONV gethostname(char *, unsigned int); | ^~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:488, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:201: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/unistd.h:365:1: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 365 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ configure:38323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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 | # 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:38323: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38323: $? = 0 configure:38333: result: size_t configure:38343: checking if gethostname usage allowed configure:38346: result: yes configure:38356: checking if gethostname might be used configure:38362: result: yes configure:38381: checking if getpeername can be linked configure:38402: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38402: $? = 0 configure:38405: result: yes configure:38420: checking if getpeername is prototyped configure:38434: result: yes configure:38450: checking if getpeername is compilable configure:38471: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38471: $? = 0 configure:38474: result: yes configure:38489: checking if getpeername usage allowed configure:38492: result: yes configure:38502: checking if getpeername might be used configure:38508: result: yes configure:38527: checking if getsockname can be linked configure:38548: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38548: $? = 0 configure:38551: result: yes configure:38566: checking if getsockname is prototyped configure:38580: result: yes configure:38596: checking if getsockname is compilable configure:38617: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38617: $? = 0 configure:38620: result: yes configure:38635: checking if getsockname usage allowed configure:38638: result: yes configure:38648: checking if getsockname might be used configure:38654: result: yes configure:38673: checking for net/if.h configure:38673: result: yes configure:38689: checking if if_nametoindex can be linked configure:38710: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38710: $? = 0 configure:38713: result: yes configure:38728: checking if if_nametoindex is prototyped configure:38741: result: yes configure:38757: checking if if_nametoindex is compilable configure:38777: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38777: $? = 0 configure:38780: result: yes configure:38795: checking if if_nametoindex usage allowed configure:38798: result: yes configure:38808: checking if if_nametoindex might be used configure:38814: result: yes configure:38842: checking for sys/types.h configure:38842: result: yes configure:38849: checking for sys/socket.h configure:38849: result: yes configure:38856: checking for netinet/in.h configure:38856: result: yes configure:38863: checking for ifaddrs.h configure:38863: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38863: $? = 0 configure:38863: result: yes configure:38880: checking if getifaddrs can be linked configure:38909: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:38909: $? = 0 configure:38912: result: yes configure:38927: checking if getifaddrs is prototyped configure:38939: result: yes configure:38955: checking if getifaddrs is compilable configure:38974: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:38974: $? = 0 configure:38977: result: yes configure:39058: checking if getifaddrs usage allowed configure:39061: result: yes configure:39071: checking if getifaddrs might be used configure:39078: result: yes configure:39101: checking for sys/types.h configure:39101: result: yes configure:39108: checking for sys/time.h configure:39108: result: yes configure:39125: checking if gmtime_r can be linked configure:39154: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39154: $? = 0 configure:39157: result: yes configure:39172: checking if gmtime_r is prototyped configure:39184: result: yes configure:39200: checking if gmtime_r is compilable configure:39219: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:39219: $? = 0 configure:39222: result: yes configure:39303: checking if gmtime_r usage allowed configure:39306: result: yes configure:39316: checking if gmtime_r might be used configure:39323: result: yes configure:39355: checking for sys/types.h configure:39355: result: yes configure:39362: checking for sys/socket.h configure:39362: result: yes configure:39369: checking for netinet/in.h configure:39369: result: yes configure:39376: checking for arpa/inet.h configure:39376: result: yes configure:39393: checking if inet_ntop can be linked configure:39422: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39422: $? = 0 configure:39425: result: yes configure:39440: checking if inet_ntop is prototyped configure:39452: result: yes configure:39468: checking if inet_ntop is compilable configure:39487: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:39487: $? = 0 configure:39490: result: yes configure:39613: checking if inet_ntop usage allowed configure:39616: result: yes configure:39626: checking if inet_ntop might be used configure:39633: result: yes configure:39653: checking if inet_pton can be linked configure:39682: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39682: $? = 0 configure:39685: result: yes configure:39700: checking if inet_pton is prototyped configure:39712: result: yes configure:39728: checking if inet_pton is compilable configure:39747: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:39747: $? = 0 configure:39750: result: yes configure:39866: checking if inet_pton usage allowed configure:39869: result: yes configure:39879: checking if inet_pton might be used configure:39886: result: yes configure:39917: checking for sys/types.h configure:39917: result: yes configure:39924: checking for unistd.h configure:39924: result: yes configure:39931: checking for sys/socket.h configure:39931: result: yes configure:39938: checking for sys/ioctl.h configure:39938: result: yes configure:39945: checking for stropts.h configure:39945: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:222:10: fatal error: stropts.h: No such file or directory 222 | #include | ^~~~~~~~~~~ compilation terminated. configure:39945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:39945: result: no configure:39961: checking if ioctl can be linked configure:39990: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:39990: $? = 0 configure:39993: result: yes configure:40008: checking if ioctl is prototyped configure:40020: result: yes configure:40036: checking if ioctl is compilable configure:40055: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:40055: $? = 0 configure:40058: result: yes configure:40073: checking if ioctl usage allowed configure:40076: result: yes configure:40086: checking if ioctl might be used configure:40092: result: yes configure:40104: checking if ioctl FIONBIO is compilable configure:40124: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:40124: $? = 0 configure:40127: result: yes configure:40142: checking if ioctl FIONBIO usage allowed configure:40145: result: yes configure:40155: checking if ioctl FIONBIO might be used configure:40159: result: yes configure:40177: checking if ioctl SIOCGIFADDR is compilable configure:40198: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:40198: $? = 0 configure:40201: result: yes configure:40216: checking if ioctl SIOCGIFADDR usage allowed configure:40219: result: yes configure:40229: checking if ioctl SIOCGIFADDR might be used configure:40233: result: yes configure:40258: checking if ioctlsocket can be linked configure:40278: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:230:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 230 | if(0 != ioctlsocket(0, 0, 0)) | ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:40278: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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 | # 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:40287: result: no configure:40376: checking if ioctlsocket might be used configure:40463: result: no configure:40475: checking if IoctlSocket can be linked configure:40504: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc6VU8eO.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:40504: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:40513: result: no configure:40600: checking if IoctlSocket might be used configure:40686: result: no configure:40699: checking if localtime_r can be linked configure:40728: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40728: $? = 0 configure:40731: result: yes configure:40746: checking if localtime_r is prototyped configure:40758: result: yes configure:40774: checking if localtime_r is compilable configure:40793: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:40793: $? = 0 configure:40796: result: yes configure:40877: checking if localtime_r usage allowed configure:40880: result: yes configure:40890: checking if localtime_r might be used configure:40897: result: yes configure:40917: checking if memrchr can be linked configure:40946: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:40946: $? = 0 configure:40949: result: yes configure:41002: checking if memrchr is prototyped configure:41020: result: no configure:41081: checking if memrchr might be used configure:41094: result: no configure:41114: checking if poll can be linked configure:41133: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:41133: $? = 0 configure:41136: result: yes configure:41151: checking if poll is prototyped configure:41163: result: yes configure:41179: checking if poll is compilable configure:41198: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:41198: $? = 0 configure:41201: result: yes configure:41294: checking if poll usage allowed configure:41297: result: yes configure:41307: checking if poll might be used configure:41314: result: yes configure:41336: checking if setsockopt can be linked configure:41357: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:41357: $? = 0 configure:41360: result: yes configure:41375: checking if setsockopt is prototyped configure:41389: result: yes configure:41405: checking if setsockopt is compilable configure:41426: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:41426: $? = 0 configure:41429: result: yes configure:41444: checking if setsockopt usage allowed configure:41447: result: yes configure:41457: checking if setsockopt might be used configure:41463: result: yes configure:41475: checking if setsockopt SO_NONBLOCK is compilable configure:41496: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:242:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? 242 | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | ^~~~~~~~~~~ | SOCK_NONBLOCK conftest.c:242:43: note: each undeclared identifier is reported only once for each function it appears in configure:41496: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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 | # 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:41505: result: no configure:41527: checking if setsockopt SO_NONBLOCK might be used configure:41538: result: no configure:41559: checking for sys/types.h configure:41559: result: yes configure:41566: checking for signal.h configure:41566: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:41566: $? = 0 configure:41566: result: yes configure:41582: checking if sigaction can be linked configure:41611: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:41611: $? = 0 configure:41614: result: yes configure:41629: checking if sigaction is prototyped configure:41641: result: yes configure:41657: checking if sigaction is compilable configure:41676: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:41676: $? = 0 configure:41679: result: yes configure:41694: checking if sigaction usage allowed configure:41697: result: yes configure:41707: checking if sigaction might be used configure:41713: result: yes configure:41732: checking if siginterrupt can be linked configure:41761: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:41761: $? = 0 configure:41764: result: yes configure:41779: checking if siginterrupt is prototyped configure:41791: result: yes configure:41807: checking if siginterrupt is compilable configure:41826: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:228:9: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 228 | if(0 != siginterrupt(0, 0)) | ^~ In file included from conftest.c:221: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ configure:41826: $? = 0 configure:41829: result: yes configure:41844: checking if siginterrupt usage allowed configure:41847: result: yes configure:41857: checking if siginterrupt might be used configure:41863: result: yes configure:41882: checking if signal can be linked configure:41911: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:41911: $? = 0 configure:41914: result: yes configure:41929: checking if signal is prototyped configure:41941: result: yes configure:41957: checking if signal is compilable configure:41976: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:41976: $? = 0 configure:41979: result: yes configure:41994: checking if signal usage allowed configure:41997: result: yes configure:42007: checking if signal might be used configure:42013: result: yes configure:42035: checking for sys/types.h configure:42035: result: yes configure:42042: checking for setjmp.h configure:42042: result: yes configure:42059: checking if sigsetjmp can be linked configure:42088: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cclfw5PP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetjmp' collect2: error: ld returned 1 exit status configure:42088: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:42097: result: no configure:42106: checking if sigsetjmp seems a macro configure:42126: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:42126: $? = 0 configure:42129: result: yes configure:42174: checking if sigsetjmp is compilable configure:42194: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:42194: $? = 0 configure:42197: result: yes configure:42212: checking if sigsetjmp usage allowed configure:42215: result: yes configure:42225: checking if sigsetjmp might be used configure:42231: result: yes configure:42250: checking if socket can be linked configure:42272: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:42272: $? = 0 configure:42275: result: yes configure:42290: checking if socket is prototyped configure:42305: result: yes configure:42321: checking if socket is compilable configure:42343: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:42343: $? = 0 configure:42346: result: yes configure:42361: checking if socket usage allowed configure:42364: result: yes configure:42374: checking if socket might be used configure:42380: result: yes configure:42399: checking if socketpair can be linked configure:42428: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:42428: $? = 0 configure:42431: result: yes configure:42446: checking if socketpair is prototyped configure:42459: result: yes configure:42475: checking if socketpair is compilable configure:42496: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:42496: $? = 0 configure:42499: result: yes configure:42514: checking if socketpair usage allowed configure:42517: result: yes configure:42527: checking if socketpair might be used configure:42533: result: yes configure:42552: checking if strcasecmp can be linked configure:42581: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:233:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 233 | char strcasecmp (); | ^~~~~~~~~~ configure:42581: $? = 0 configure:42584: result: yes configure:42599: checking if strcasecmp is prototyped configure:42611: result: yes configure:42627: checking if strcasecmp is compilable configure:42646: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:42646: $? = 0 configure:42649: result: yes configure:42664: checking if strcasecmp usage allowed configure:42667: result: yes configure:42677: checking if strcasecmp might be used configure:42683: result: yes configure:42702: checking if strcmpi can be linked configure:42731: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccOVJHtC.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:42731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:42740: result: no configure:42827: checking if strcmpi might be used configure:42840: result: no configure:42852: checking if strdup can be linked configure:42881: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:234:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 234 | char strdup (); | ^~~~~~ configure:42881: $? = 0 configure:42884: result: yes configure:42899: checking if strdup is prototyped configure:42911: result: yes configure:42927: checking if strdup is compilable configure:42946: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:42946: $? = 0 configure:42949: result: yes configure:42964: checking if strdup usage allowed configure:42967: result: yes configure:42977: checking if strdup might be used configure:42983: result: yes configure:43008: checking if strerror_r can be linked configure:43037: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:43037: $? = 0 configure:43040: result: yes configure:43055: checking if strerror_r is prototyped configure:43067: result: yes configure:43083: checking if strerror_r is compilable configure:43102: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:43102: $? = 0 configure:43105: result: yes configure:43120: checking if strerror_r is glibc like configure:43143: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:236:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, size_t)' {aka 'char *(int, char *, long unsigned int)'} 236 | char *strerror_r(int errnum, char *workbuf, size_t bufsize); | ^~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:488, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:227: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:416:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 416 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:43143: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43143: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:236:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, int)' 236 | char *strerror_r(int errnum, char *workbuf, int bufsize); | ^~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:488, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:227: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:416:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 416 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:43143: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43143: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:236:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, unsigned int)' 236 | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); | ^~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:488, from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from conftest.c:227: /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:416:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 416 | extern int __REDIRECT_NTH (strerror_r, | ^~~~~~~~~~~~~~ configure:43143: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43154: result: no configure:43236: checking if strerror_r is POSIX like configure:43259: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:43259: $? = 0 configure:43275: result: yes configure:43367: checking if strerror_r usage allowed configure:43370: result: yes configure:43380: checking if strerror_r might be used configure:43386: result: yes configure:43431: checking if stricmp can be linked configure:43460: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cclBVBI4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:43460: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43469: result: no configure:43556: checking if stricmp might be used configure:43569: result: no configure:43581: checking if strncmpi can be linked configure:43610: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccPYPErc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:43610: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43619: result: no configure:43706: checking if strncmpi might be used configure:43719: result: no configure:43731: checking if strnicmp can be linked configure:43760: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccmDrTch.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:43760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:43769: result: no configure:43856: checking if strnicmp might be used configure:43869: result: no configure:43881: checking if strstr can be linked configure:43910: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c:238:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 238 | char strstr (); | ^~~~~~ conftest.c:231:1: note: 'strstr' is declared in header '' 230 | # include 231 | #else configure:43910: $? = 0 configure:43913: result: yes configure:43928: checking if strstr is prototyped configure:43940: result: yes configure:43956: checking if strstr is compilable configure:43975: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:43975: $? = 0 configure:43978: result: yes configure:43993: checking if strstr usage allowed configure:43996: result: yes configure:44006: checking if strstr might be used configure:44012: result: yes configure:44031: checking if strtok_r can be linked configure:44060: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44060: $? = 0 configure:44063: result: yes configure:44078: checking if strtok_r is prototyped configure:44090: result: yes configure:44106: checking if strtok_r is compilable configure:44125: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44125: $? = 0 configure:44128: result: yes configure:44143: checking if strtok_r usage allowed configure:44146: result: yes configure:44156: checking if strtok_r might be used configure:44162: result: yes configure:44181: checking if strtoll can be linked configure:44210: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44210: $? = 0 configure:44213: result: yes configure:44228: checking if strtoll is prototyped configure:44240: result: yes configure:44256: checking if strtoll is compilable configure:44275: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44275: $? = 0 configure:44278: result: yes configure:44293: checking if strtoll usage allowed configure:44296: result: yes configure:44306: checking if strtoll might be used configure:44312: result: yes configure:44334: checking for sys/types.h configure:44334: result: yes configure:44341: checking for sys/uio.h configure:44341: result: yes configure:44357: checking if writev can be linked configure:44386: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44386: $? = 0 configure:44389: result: yes configure:44404: checking if writev is prototyped configure:44416: result: yes configure:44432: checking if writev is compilable configure:44451: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44451: $? = 0 configure:44454: result: yes configure:44469: checking if writev usage allowed configure:44472: result: yes configure:44482: checking if writev might be used configure:44488: result: yes configure:44510: checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc options needed to detect all undeclared functions configure:44531: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:235:8: error: 'strchr' undeclared (first use in this function) 235 | (void) strchr; | ^~~~~~ conftest.c:1:1: note: 'strchr' is defined in header ''; did you forget to '#include '? 1 | /* confdefs.h */ conftest.c:235:8: note: each undeclared identifier is reported only once for each function it appears in 235 | (void) strchr; | ^~~~~~ configure:44531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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 | /* end confdefs.h. */ | | int main (void) | { | (void) strchr; | ; | return 0; | } configure:44557: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44557: $? = 0 configure:44574: result: none needed configure:44588: checking whether getpwuid_r is declared configure:44588: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:44588: $? = 0 configure:44588: result: yes configure:44613: checking for fnmatch configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for geteuid configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for getpass_r configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc182wDh.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:44613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44613: result: no configure:44626: checking deeper for getpass_r configure:44643: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:241:9: error: implicit declaration of function 'getpass_r' [-Werror=implicit-function-declaration] 241 | getpass_r (); | ^~~~~~~~~ cc1: some warnings being treated as errors configure:44643: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44657: result: but still no configure:44613: checking for getppid configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for getpwuid configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for getpwuid_r configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for getrlimit configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for gettimeofday configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for if_nametoindex configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for mach_absolute_time configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccVqEcpY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status configure:44613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44613: result: no configure:44626: checking deeper for mach_absolute_time configure:44643: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:247:9: error: implicit declaration of function 'mach_absolute_time' [-Werror=implicit-function-declaration] 247 | mach_absolute_time (); | ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors configure:44643: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44657: result: but still no configure:44613: checking for pipe configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for setlocale configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for setmode configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/11.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccUncIPk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:44613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44613: result: no configure:44626: checking deeper for setmode configure:44643: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 conftest.c: In function 'main': conftest.c:249:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration] 249 | setmode (); | ^~~~~~~ cc1: some warnings being treated as errors configure:44643: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "riscv64-buildroot-linux-gnu" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_PROXY 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMB 1 | #define CURL_DISABLE_SMTP 1 | #define CURL_DISABLE_GOPHER 1 | #define CURL_DISABLE_LIBCURL_OPTION 1 | #define HAVE_SYS_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 ENABLE_IPV6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_OPENSSL_SRP 1 | #define CURL_CA_PATH "/etc/ssl/certs" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_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_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_GETIFADDRS 1 | #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:44657: result: but still no configure:44613: checking for setrlimit configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for usleep configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for utime configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44613: checking for utimes configure:44613: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5 configure:44613: $? = 0 configure:44613: result: yes configure:44673: checking how to set a socket into non-blocking mode configure:44686: result: fcntl O_NONBLOCK configure:44697: checking for perl configure:44733: result: /usr/bin/perl configure:44747: checking for gnroff configure:44786: result: no configure:44747: checking for nroff configure:44771: found /usr/bin/nroff configure:44783: result: /usr/bin/nroff configure:44798: checking how to use *nroff to get plain text from man pages configure:44816: result: -man configure:45280: checking whether to enable the threaded resolver configure:45297: result: yes configure:45302: checking whether to use POSIX threads for threaded resolver configure:45319: result: auto configure:45345: checking for pthread.h configure:45345: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:45345: $? = 0 configure:45345: result: yes configure:45355: checking for pthread_create configure:45355: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib conftest.c >&5 configure:45355: $? = 0 configure:45355: result: yes configure:45448: checking convert -I options to -isystem configure:45452: result: yes configure:45490: checking whether to enable verbose strings configure:45497: result: no configure:45515: checking whether to enable SSPI support (Windows native builds only) configure:45555: result: no configure:45562: checking whether to enable cryptographic authentication methods configure:45581: result: yes configure:45587: checking whether to support NTLM configure:45606: result: yes configure:45638: checking whether to enable NTLM delegation to winbind's helper configure:45645: result: no configure:45658: checking whether to enable TLS-SRP authentication configure:45675: result: yes configure:45690: checking whether to enable Unix domain sockets configure:45707: result: auto configure:45715: checking for struct sockaddr_un.sun_path configure:45715: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=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:45715: $? = 0 configure:45715: result: yes configure:45739: checking whether to support cookies configure:45746: result: no configure:45763: checking whether to support socketpair configure:45781: result: yes configure:45787: checking whether to support HTTP authentication configure:45805: result: yes configure:45811: checking whether to support DoH configure:45829: result: yes configure:45835: checking whether to support the MIME API configure:45853: result: yes configure:45859: checking whether to support date parsing configure:45877: result: yes configure:45883: checking whether to support netrc parsing configure:45901: result: yes configure:45907: checking whether to support progress-meter configure:45925: result: yes configure:45931: checking whether to support DNS shuffling configure:45949: result: yes configure:45955: checking whether to support curl_easy_option* configure:45973: result: yes configure:45979: checking whether to support alt-svc configure:45999: result: no configure:46007: checking whether to support HSTS configure:46023: result: yes configure:46077: checking whether hiding of library internal symbols will actually happen configure:46092: result: no configure:46487: using CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Werror-implicit-function-declaration -Wno-system-headers -Wenum-conversion configure:46493: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE_SOURCE configure:46493: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_LARGEFILE64_SOURCE configure:46493: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FILE_OFFSET_BITS=64 configure:46493: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 configure:46524: WARNING: Continuing even with errors mentioned immediately above this line. configure:46652: checking that generated files are newer than configure configure:46658: result: done configure:46753: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by curl config.status -, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gcc159.bak.milne.osuosl.org config.status:1470: creating Makefile config.status:1470: creating docs/Makefile config.status:1470: creating docs/examples/Makefile config.status:1470: creating docs/libcurl/Makefile config.status:1470: creating docs/libcurl/opts/Makefile config.status:1470: creating docs/cmdline-opts/Makefile config.status:1470: creating include/Makefile config.status:1470: creating include/curl/Makefile config.status:1470: creating src/Makefile config.status:1470: creating lib/Makefile config.status:1470: creating scripts/Makefile config.status:1470: creating lib/libcurl.vers config.status:1470: creating tests/Makefile config.status:1470: creating tests/certs/Makefile config.status:1470: creating tests/certs/scripts/Makefile config.status:1470: creating tests/data/Makefile config.status:1470: creating tests/server/Makefile config.status:1470: creating tests/libtest/Makefile config.status:1470: creating tests/unit/Makefile config.status:1470: creating packages/Makefile config.status:1470: creating packages/vms/Makefile config.status:1470: creating curl-config config.status:1470: creating libcurl.pc config.status:1470: creating lib/curl_config.h config.status:1699: executing depfiles commands config.status:1699: executing libtool commands configure:49194: Configured to build curl/libcurl: Host setup: riscv64-buildroot-linux-gnu Install prefix: /usr Compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc CFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -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/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib LIBS: -lrtmp -lssl -lcrypto -lssl -lcrypto -lz curl version: 7.81.0 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: POSIX threaded IPv6: enabled Unix sockets: enabled IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=no Built-in manual: no (--enable-manual) --libcurl option: no Verbose errors: no Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: no ca cert path: /etc/ssl/certs ca fallback: no LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: no (--enable-rtsp) RTMP: enabled (librtmp) PSL: no (libpsl not found) Alt-svc: enabled (--disable-alt-svc) HSTS: enabled (--disable-hsts) HTTP1: enabled (internal) HTTP2: no (--with-nghttp2, --with-hyper) HTTP3: no (--with-ngtcp2, --with-quiche) ECH: no (--enable-ech) Protocols: FILE FTP FTPS HTTP HTTPS MQTT RTMP Features: AsynchDNS HSTS 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_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/autobuild/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 -g0 -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=/home/buildroot/autobuild/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_RAND_egd=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_fnmatch=yes ac_cv_func_geteuid=yes ac_cv_func_gethostbyname=yes ac_cv_func_getpass_r=no ac_cv_func_getppid=yes ac_cv_func_getpwuid=yes ac_cv_func_getpwuid_r=yes ac_cv_func_getrlimit=yes ac_cv_func_gettimeofday=yes ac_cv_func_if_nametoindex=yes ac_cv_func_mach_absolute_time=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_pipe=yes ac_cv_func_pthread_create=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_librtmp_rtmp_h=yes ac_cv_header_linux_tcp_h=yes ac_cv_header_locale_h=yes ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in6_h=no ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_tcp_h=yes ac_cv_header_openssl_crypto_h=yes ac_cv_header_openssl_err_h=yes ac_cv_header_openssl_pem_h=yes ac_cv_header_openssl_rsa_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_openssl_x509_h=yes ac_cv_header_poll_h=yes ac_cv_header_proto_bsdsocket_h=no ac_cv_header_pthread_h=yes ac_cv_header_pwd_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_signal_h=yes ac_cv_header_socket_h=no ac_cv_header_stdbool_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_stropts_h=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=yes ac_cv_lib_ssl_SSL_connect=yes ac_cv_lib_zstd_ZSTD_createDStream=no ac_cv_member_struct_sockaddr_un_sun_path=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_NROFF=/usr/bin/nroff ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp ac_cv_prog_OBJDUMP=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-objdump ac_cv_prog_RANLIB=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib ac_cv_prog_STRIP=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= 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_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=0x101010dfL curl_cv_def___GNUC__=11 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_fsetxattr=yes curl_cv_func_ftruncate=yes curl_cv_func_getaddrinfo=yes curl_cv_func_getaddrinfo_threadsafe=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_getsockname=yes curl_cv_func_gmtime_r=yes curl_cv_func_if_nametoindex=yes 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_OPENSSL_VERSION_STR=no curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=no curl_cv_have_def__WIN32=no curl_cv_have_def___DECC=no curl_cv_have_def___DECC_VER=no curl_cv_have_def___GNUC__=yes curl_cv_have_def___HP_cc=no curl_cv_have_def___IBMC__=no curl_cv_have_def___INTEL_COMPILER=no curl_cv_have_def___LCC__=no curl_cv_have_def___SUNPRO_C=no curl_cv_have_def___TINYC__=no curl_cv_have_def___WATCOMC__=no curl_cv_have_def___clang__=no curl_cv_have_def___sgi=no curl_cv_have_def_h_errno=yes curl_cv_header_malloc_h=yes curl_cv_header_memory_h=no curl_cv_header_winber_h=no curl_cv_header_wincrypt_h=no curl_cv_header_windows_h=no curl_cv_header_winldap_h=no curl_cv_header_winsock2_h=no curl_cv_header_ws2tcpip_h=no curl_cv_msg_nosignal=yes curl_cv_native_windows=no curl_cv_need_header_malloc_h=no curl_cv_recv=yes curl_cv_save_LIBS= curl_cv_select=yes curl_cv_send=yes curl_cv_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=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld lt_cv_path_NM=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][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='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/missing'\'' aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ar' AR_FLAGS='cr' AS='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-as' AUTOCONF='${SHELL} '\''/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/missing'\'' automake-1.16' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_TRUE='' BUILD_STUB_GSS_FALSE='' BUILD_STUB_GSS_TRUE='#' BUILD_UNITTESTS_FALSE='' BUILD_UNITTESTS_TRUE='#' CC='/home/buildroot/autobuild/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 -g0 -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'\'' '\''--disable-nls'\'' '\''--disable-static'\'' '\''--enable-shared'\'' '\''--disable-manual'\'' '\''--disable-ntlm-wb'\'' '\''--enable-hidden-symbols'\'' '\''--with-random=/dev/urandom'\'' '\''--disable-curldebug'\'' '\''--disable-libcurl-option'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--enable-threaded-resolver'\'' '\''--disable-verbose'\'' '\''--with-ssl=/home/buildroot/autobuild/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'\'' '\''--disable-ares'\'' '\''--without-libidn2'\'' '\''--without-libssh2'\'' '\''--without-brotli'\'' '\''--without-nghttp2'\'' '\''--without-gsasl'\'' '\''--disable-cookies'\'' '\''--disable-proxy'\'' '\''--disable-dict'\'' '\''--disable-gopher'\'' '\''--disable-imap'\'' '\''--disable-pop3'\'' '\''--disable-rtsp'\'' '\''--disable-smb'\'' '\''--disable-smtp'\'' '\''--disable-telnet'\'' '\''--disable-tftp'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=riscv64-buildroot-linux-gnu'\'' '\''target_alias=riscv64-buildroot-linux-gnu'\'' '\''CC=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc'\'' '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1'\'' '\''LDFLAGS='\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' '\''CPP=/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-cpp'\''"' CPP='/home/buildroot/autobuild/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='' CSCOPE='cscope' CTAGS='ctags' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.81.0' CURL_CA_BUNDLE='' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='1' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_GOPHER='1' CURL_DISABLE_HTTP='' CURL_DISABLE_IMAP='1' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_MQTT='' CURL_DISABLE_POP3='1' CURL_DISABLE_PROXY='1' CURL_DISABLE_RTSP='1' CURL_DISABLE_SMB='1' CURL_DISABLE_SMTP='1' CURL_DISABLE_TELNET='1' CURL_DISABLE_TFTP='1' CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE='' CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#' CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE='' CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#' CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#' CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='' CURL_LT_SHLIB_VERSIONED_FLAVOUR='' CURL_NETWORK_AND_TIME_LIBS='' CURL_NETWORK_LIBS='' CURL_WITH_MULTI_SSL='' CYGPATH_W='echo' DEFAULT_SSL_BACKEND='no' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DOING_CURL_SYMBOL_HIDING_FALSE='' DOING_CURL_SYMBOL_HIDING_TRUE='#' DOING_NATIVE_WINDOWS_FALSE='' DOING_NATIVE_WINDOWS_TRUE='#' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='no' ETAGS='etags' EXEEXT='' FGREP='/bin/grep -F' FISH_FUNCTIONS_DIR='${prefix}/share/fish/vendor_completions.d' GCOV='' GREP='/bin/grep' HAVE_BROTLI='' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='' HAVE_LIBZ='1' HAVE_LIBZ_FALSE='#' HAVE_LIBZ_TRUE='' HAVE_OPENSSL_SRP='1' HAVE_PROTO_BSDSOCKET_H='' HAVE_ZSTD='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LCOV='' LD='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-ld' LDFLAGS='-L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib' LIBCURL_LIBS='-lrtmp -lssl -lcrypto -lssl -lcrypto -lz' LIBCURL_NO_SHARED='' LIBOBJS='' LIBS='-lrtmp -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} '\''/home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/missing'\'' makeinfo' MANIFEST_TOOL=':' MANOPT='-man' MKDIR_P='/bin/mkdir -p' NM='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-nm' NMEDIT='' NROFF='/usr/bin/nroff' NSS_LIBS='' OBJDUMP='/home/buildroot/autobuild/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='no' RANDOM_FILE='/dev/urandom' RANLIB='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib' REQUIRE_LIB_DEPS='no' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SSL_BACKENDS='OpenSSL' SSL_ENABLED='1' SSL_LIBS='-lssl -lcrypto ' STRIP='/home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-strip' SUPPORT_FEATURES='AsynchDNS HSTS IPv6 Largefile NTLM SSL TLS-SRP UnixSockets alt-svc libz' SUPPORT_PROTOCOLS='FILE FTP FTPS HTTP HTTPS MQTT RTMP' USE_ARES='' USE_BEARSSL='' USE_CPPFLAG_CURL_STATICLIB_FALSE='' USE_CPPFLAG_CURL_STATICLIB_TRUE='#' USE_EMBEDDED_ARES_FALSE='' USE_EMBEDDED_ARES_TRUE='#' USE_EXPLICIT_LIB_DEPS_FALSE='' USE_EXPLICIT_LIB_DEPS_TRUE='#' USE_GNUTLS='' USE_GSASL_FALSE='' USE_GSASL_TRUE='#' USE_HYPER='' USE_LIBPSL_FALSE='' USE_LIBPSL_TRUE='#' USE_LIBRTMP='1' 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='075100' 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} /home/buildroot/autobuild/instance-0/output-1/build/libcurl-7.81.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libext='a' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "curl" #define PACKAGE_TARNAME "curl" #define PACKAGE_VERSION "-" #define PACKAGE_STRING "curl -" #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/" #define PACKAGE_URL "" #define PACKAGE "curl" #define VERSION "-" #define OS "riscv64-buildroot-linux-gnu" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_PROXY 1 #define CURL_DISABLE_DICT 1 #define CURL_DISABLE_TELNET 1 #define CURL_DISABLE_TFTP 1 #define CURL_DISABLE_POP3 1 #define CURL_DISABLE_IMAP 1 #define CURL_DISABLE_SMB 1 #define CURL_DISABLE_SMTP 1 #define CURL_DISABLE_GOPHER 1 #define CURL_DISABLE_LIBCURL_OPTION 1 #define HAVE_SYS_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 ENABLE_IPV6 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_LIBSSL 1 #define HAVE_OPENSSL_X509_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_RSA_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_CRYPTO_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_PEM_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_SSL_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_ERR_H 1 #define USE_OPENSSL 1 #define RANDOM_FILE "/dev/urandom" #define HAVE_OPENSSL_SRP 1 #define CURL_CA_PATH "/etc/ssl/certs" #define HAVE_LIBRTMP_RTMP_H 1 #define USE_LIBRTMP 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_LINUX_TCP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_TERMIO_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_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define SELECT_TYPE_ARG1 int #define SELECT_TYPE_ARG234 fd_set * #define SELECT_TYPE_RETV int #define SELECT_QUAL_ARG5 #define SELECT_TYPE_ARG5 struct timeval * #define HAVE_SELECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define RECV_TYPE_ARG1 int #define RECV_TYPE_ARG2 void * #define RECV_TYPE_ARG3 size_t #define RECV_TYPE_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_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_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_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_GETIFADDRS 1 #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 HAVE_PTHREAD_H 1 #define USE_THREADS_POSIX 1 #define CURL_DISABLE_VERBOSE_STRINGS 1 #define USE_TLS_SRP 1 #define USE_UNIX_SOCKETS 1 #define CURL_DISABLE_COOKIES 1 configure: exit 0