This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by curl configure -, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = rugen20.cshl.edu uname -m = x86_64 uname -r = 4.18.0-193.28.1.el8_2.x86_64 uname -s = Linux uname -v = #1 SMP Thu Oct 22 00:20:22 UTC 2020 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/passala/miniconda3/envs/py39/bin PATH: /home/passala/miniconda3/condabin PATH: /home/passala/.local/bin PATH: /home/passala/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /usr/local/R2020a/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3109: checking whether to enable maintainer-specific portions of Makefiles configure:3118: result: no configure:3142: checking whether make supports nested variables configure:3159: result: yes configure:3172: checking whether to enable debug build options configure:3191: result: no configure:3195: checking whether to enable compiler optimizer configure:3216: result: (assumed) yes configure:3228: checking whether to enable strict compiler warnings configure:3247: result: no configure:3251: checking whether to enable compiler warnings as errors configure:3270: result: no configure:3274: checking whether to enable curl debug memory tracking configure:3293: result: no configure:3307: checking whether to enable hiding of library internal symbols configure:3328: result: yes configure:3339: checking whether to enable c-ares for DNS lookups configure:3361: result: no configure:3365: checking whether to disable dependency on -lrt configure:3381: result: (assumed no) configure:3410: checking for path separator configure:3412: result: : configure:3422: checking for a sed that does not truncate output configure:3486: result: /usr/bin/sed configure:3504: checking whether to build with code coverage support configure:3524: result: no configure:3926: checking for grep configure:3945: found /usr/bin/grep configure:3958: result: /usr/bin/grep configure:3974: checking for egrep configure:3977: result: /usr/bin/grep -E configure:4077: checking for ar configure:4096: found /usr/bin/ar configure:4108: result: /usr/bin/ar configure:4356: checking for a BSD-compatible install configure:4424: result: /usr/bin/install -c configure:4486: checking for gcc configure:4502: found /usr/bin/gcc configure:4513: result: gcc configure:4742: checking for C compiler version configure:4751: gcc --version >&5 gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4762: $? = 0 configure:4751: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC) configure:4762: $? = 0 configure:4751: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4762: $? = 1 configure:4751: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4762: $? = 1 configure:4781: checking whether the C compiler works configure:4803: gcc conftest.c >&5 configure:4807: $? = 0 configure:4855: result: yes configure:4858: checking for C compiler default output file name configure:4860: result: a.out configure:4866: checking for suffix of executables configure:4873: gcc -o conftest conftest.c >&5 configure:4877: $? = 0 configure:4899: result: configure:4920: checking whether we are cross compiling configure:4928: gcc -o conftest conftest.c >&5 configure:4932: $? = 0 configure:4939: ./conftest configure:4943: $? = 0 configure:4958: result: no configure:4963: checking for suffix of object files configure:4984: gcc -c conftest.c >&5 configure:4988: $? = 0 configure:5009: result: o configure:5013: checking whether we are using the GNU C compiler configure:5031: gcc -c conftest.c >&5 configure:5031: $? = 0 configure:5040: result: yes configure:5049: checking whether gcc accepts -g configure:5068: gcc -c -g conftest.c >&5 configure:5068: $? = 0 configure:5107: result: yes configure:5124: checking for gcc option to accept ISO C89 configure:5186: gcc -c -g -O2 conftest.c >&5 configure:5186: $? = 0 configure:5199: result: none needed configure:5224: checking whether gcc understands -c and -o together configure:5245: gcc -c conftest.c -o conftest2.o configure:5248: $? = 0 configure:5245: gcc -c conftest.c -o conftest2.o configure:5248: $? = 0 configure:5260: result: yes configure:5283: checking how to run the C preprocessor configure:5314: gcc -E conftest.c configure:5314: $? = 0 configure:5328: gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5328: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:5353: result: gcc -E configure:5373: gcc -E conftest.c configure:5373: $? = 0 configure:5387: gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5387: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:5428: checking whether build environment is sane configure:5483: result: yes configure:5631: checking for a thread-safe mkdir -p configure:5670: result: /usr/bin/mkdir -p configure:5677: checking for gawk configure:5693: found /usr/bin/gawk configure:5704: result: gawk configure:5715: checking whether make sets $(MAKE) configure:5737: result: yes configure:5767: checking for style of include used by make configure:5795: result: GNU configure:5896: checking dependency style of gcc configure:6007: result: gcc3 configure:6070: checking curl version configure:6072: result: 7.55.0 configure:6117: checking build system type configure:6131: result: x86_64-pc-linux-gnu configure:6151: checking host system type configure:6164: result: x86_64-pc-linux-gnu configure:6213: checking for sys/types.h configure:6213: gcc -c conftest.c >&5 configure:6213: $? = 0 configure:6213: result: yes configure:6213: checking for stdint.h configure:6213: gcc -c conftest.c >&5 configure:6213: $? = 0 configure:6213: result: yes configure:6213: checking for inttypes.h configure:6213: gcc -c conftest.c >&5 configure:6213: $? = 0 configure:6213: result: yes configure:6226: checking for grep that handles long lines and -e configure:6284: result: /usr/bin/grep configure:6289: checking for egrep configure:6351: result: /usr/bin/grep -E configure:6356: checking for ANSI C header files configure:6375: gcc -c conftest.c >&5 configure:6375: $? = 0 configure:6448: gcc -o conftest conftest.c >&5 configure:6448: $? = 0 configure:6448: ./conftest configure:6448: $? = 0 configure:6459: result: yes configure:6472: checking for sys/types.h configure:6472: result: yes configure:6472: checking for sys/stat.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6472: checking for stdlib.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6472: checking for string.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6472: checking for memory.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6472: checking for strings.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6472: checking for inttypes.h configure:6472: result: yes configure:6472: checking for stdint.h configure:6472: result: yes configure:6472: checking for unistd.h configure:6472: gcc -c conftest.c >&5 configure:6472: $? = 0 configure:6472: result: yes configure:6485: checking if cpp -P is needed configure:6502: result: yes configure:6506: checking if cpp -P works configure:6525: result: yes configure:6554: checking size of long configure:6559: gcc -o conftest conftest.c >&5 configure:6559: $? = 0 configure:6559: ./conftest configure:6559: $? = 0 configure:6573: result: 8 configure:6587: checking size of void* configure:6592: gcc -o conftest conftest.c >&5 configure:6592: $? = 0 configure:6592: ./conftest configure:6592: $? = 0 configure:6606: result: 8 configure:6644: checking for 64-bit curl_off_t data type configure:6694: gcc -c conftest.c >&5 configure:6694: $? = 0 configure:6760: result: long configure:6885: checking size of curl_off_t configure:6887: result: 8 configure:6890: checking formatting string directive for curl_off_t configure:6930: result: "ld" configure:6933: checking formatting string directive for unsigned curl_off_t configure:6935: result: "lu" configure:6939: checking constant suffix string for curl_off_t configure:7006: gcc -c conftest.c >&5 configure:7006: $? = 0 configure:7020: result: L configure:7022: checking constant suffix string for unsigned curl_off_t configure:7024: result: UL configure:7094: checking if OS is AIX (to define _ALL_SOURCE) configure:7114: result: no configure:7124: checking if _THREAD_SAFE is already defined configure:7145: gcc -c conftest.c >&5 conftest.c: In function 'main': conftest.c:43:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:7145: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _THREAD_SAFE | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:7153: result: no configure:7161: checking if _THREAD_SAFE is actually needed configure:7180: result: no configure:7185: checking if _THREAD_SAFE is onwards defined configure:7202: result: no configure:7209: checking if _REENTRANT is already defined configure:7230: gcc -c conftest.c >&5 conftest.c: In function 'main': conftest.c:43:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:7230: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _REENTRANT | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:7238: result: no configure:7246: checking if _REENTRANT is actually needed configure:7277: gcc -c conftest.c >&5 configure:7277: $? = 0 configure:7308: gcc -c conftest.c >&5 configure:7308: $? = 0 configure:7379: gcc -o conftest conftest.c >&5 configure:7379: $? = 0 configure:7458: gcc -o conftest conftest.c >&5 configure:7458: $? = 0 configure:7537: gcc -o conftest conftest.c >&5 configure:7537: $? = 0 configure:7616: gcc -o conftest conftest.c >&5 configure:7616: $? = 0 configure:7695: gcc -o conftest conftest.c >&5 /tmp/cctJRlxo.o: In function `main': conftest.c:(.text+0xa): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:7695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:7778: gcc -o conftest conftest.c >&5 configure:7778: $? = 0 configure:7857: gcc -o conftest conftest.c >&5 configure:7857: $? = 0 configure:7936: gcc -o conftest conftest.c >&5 configure:7936: $? = 0 configure:8015: gcc -o conftest conftest.c >&5 configure:8015: $? = 0 configure:8071: result: no configure:8076: checking if _REENTRANT is onwards defined configure:8093: result: no configure:8106: checking for special C compiler options needed for large files configure:8150: result: no configure:8156: checking for _FILE_OFFSET_BITS value needed for large files configure:8180: gcc -c conftest.c >&5 configure:8180: $? = 0 configure:8211: result: no configure:8341: checking how to print strings configure:8368: result: printf configure:8389: checking for a sed that does not truncate output configure:8453: result: /usr/bin/sed configure:8471: checking for fgrep configure:8533: result: /usr/bin/grep -F configure:8568: checking for ld used by gcc configure:8635: result: /usr/bin/ld configure:8642: checking if the linker (/usr/bin/ld) is GNU ld configure:8657: result: yes configure:8669: checking for BSD- or MS-compatible name lister (nm) configure:8723: result: /usr/bin/nm -B configure:8853: checking the name lister (/usr/bin/nm -B) interface configure:8860: gcc -c conftest.c >&5 configure:8863: /usr/bin/nm -B "conftest.o" configure:8866: output 0000000000000000 B some_variable configure:8873: result: BSD nm configure:8876: checking whether ln -s works configure:8880: result: yes configure:8888: checking the maximum length of command line arguments configure:9019: result: 1572864 configure:9067: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:9107: result: func_convert_file_noop configure:9114: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:9134: result: func_convert_file_noop configure:9141: checking for /usr/bin/ld option to reload object files configure:9148: result: -r configure:9222: checking for objdump configure:9238: found /usr/bin/objdump configure:9249: result: objdump configure:9278: checking how to recognize dependent libraries configure:9478: result: pass_all configure:9563: checking for dlltool configure:9593: result: no configure:9620: checking how to associate runtime and link libraries configure:9647: result: printf %s\n configure:9771: checking for archiver @FILE support configure:9787: gcc -c conftest.c >&5 configure:9787: $? = 0 configure:9790: /usr/bin/ar cru libconftest.a @conftest.lst >&5 configure:9793: $? = 0 configure:9798: /usr/bin/ar cru libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:9801: $? = 1 configure:9813: result: @ configure:9871: checking for strip configure:9887: found /usr/bin/strip configure:9898: result: strip configure:9970: checking for ranlib configure:9986: found /usr/bin/ranlib configure:9997: result: ranlib configure:10099: checking command to parse /usr/bin/nm -B output from gcc object configure:10252: gcc -c conftest.c >&5 configure:10255: $? = 0 configure:10259: /usr/bin/nm -B 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:10262: $? = 0 configure:10328: gcc -o conftest conftest.c conftstm.o >&5 configure:10331: $? = 0 configure:10369: result: ok configure:10416: checking for sysroot configure:10446: result: no configure:10453: checking for a working dd configure:10491: result: /usr/bin/dd configure:10495: checking how to truncate binary pipes configure:10510: result: /usr/bin/dd bs=4096 count=1 configure:10646: gcc -c conftest.c >&5 configure:10649: $? = 0 configure:10838: checking for mt configure:10868: result: no configure:10888: checking if : is a manifest tool configure:10894: : '-?' configure:10902: result: no configure:11575: checking for dlfcn.h configure:11575: gcc -c conftest.c >&5 configure:11575: $? = 0 configure:11575: result: yes configure:12236: checking for objdir configure:12251: result: .libs configure:12515: checking if gcc supports -fno-rtti -fno-exceptions configure:12533: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:12537: $? = 0 configure:12550: result: no configure:12908: checking for gcc option to produce PIC configure:12915: result: -fPIC -DPIC configure:12923: checking if gcc PIC flag -fPIC -DPIC works configure:12941: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 configure:12945: $? = 0 configure:12958: result: yes configure:12987: checking if gcc static flag -static works configure:13015: result: no configure:13030: checking if gcc supports -c -o file.o configure:13051: gcc -c -o out/conftest2.o conftest.c >&5 configure:13055: $? = 0 configure:13077: result: yes configure:13085: checking if gcc supports -c -o file.o configure:13132: result: yes configure:13165: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14426: result: yes configure:14463: checking whether -lc should be explicitly linked in configure:14471: gcc -c conftest.c >&5 configure:14474: $? = 0 configure:14489: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:14492: $? = 0 configure:14506: result: no configure:14666: checking dynamic linker characteristics configure:15246: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5 configure:15246: $? = 0 configure:15495: result: GNU/Linux ld.so configure:15617: checking how to hardcode library paths into programs configure:15642: result: immediate configure:16175: checking whether stripping libraries is possible configure:16180: result: yes configure:16215: checking if libtool supports shared libraries configure:16217: result: yes configure:16220: checking whether to build shared libraries configure:16245: result: yes configure:16248: checking whether to build static libraries configure:16252: result: yes configure:16323: checking whether to build shared libraries with -version-info configure:16334: result: yes configure:16341: checking whether to build shared libraries with -no-undefined configure:16354: result: no configure:16361: checking whether to build shared libraries with -mimpure-text configure:16371: result: no configure:16398: checking whether to build shared libraries with PIC configure:16400: result: yes configure:16402: checking whether to build static libraries with PIC configure:16404: result: yes configure:16411: checking whether to build shared libraries only configure:16419: result: no configure:16426: checking whether to build static libraries only configure:16434: result: no configure:16524: checking for inline configure:16540: gcc -c conftest.c >&5 configure:16540: $? = 0 configure:16548: result: inline configure:16583: checking if compiler is DEC/Compaq/HP C configure:16607: gcc -E -P conftest.c configure:16607: $? = 0 configure:16651: gcc -E -P conftest.c configure:16651: $? = 0 configure:16685: result: no configure:16690: checking if compiler is HP-UX C configure:16714: gcc -E -P conftest.c configure:16714: $? = 0 configure:16747: result: no configure:16752: checking if compiler is IBM C configure:16776: gcc -E -P conftest.c configure:16776: $? = 0 configure:16817: result: no configure:16822: checking if compiler is Intel C configure:16846: gcc -E -P conftest.c configure:16846: $? = 0 configure:16941: result: no configure:16946: checking if compiler is clang configure:16970: gcc -E -P conftest.c configure:16970: $? = 0 configure:17022: result: no configure:17027: checking if compiler is GNU C configure:17051: gcc -E -P conftest.c configure:17051: $? = 0 configure:17075: result: yes configure:17117: gcc -E -P conftest.c configure:17117: $? = 0 configure:17145: checking if compiler is LCC configure:17169: gcc -E -P conftest.c configure:17169: $? = 0 configure:17202: result: no configure:17207: checking if compiler is SGI MIPSpro C configure:17231: gcc -E -P conftest.c configure:17231: $? = 0 configure:17275: gcc -E -P conftest.c configure:17275: $? = 0 configure:17319: gcc -E -P conftest.c configure:17319: $? = 0 configure:17354: result: no configure:17359: checking if compiler is SGI MIPS C configure:17383: gcc -E -P conftest.c configure:17383: $? = 0 configure:17427: gcc -E -P conftest.c configure:17427: $? = 0 configure:17462: result: no configure:17467: checking if compiler is SunPro C configure:17491: gcc -E -P conftest.c configure:17491: $? = 0 configure:17524: result: no configure:17529: checking if compiler is Tiny C configure:17553: gcc -E -P conftest.c configure:17553: $? = 0 configure:17586: result: no configure:17591: checking if compiler is Watcom C configure:17615: gcc -E -P conftest.c configure:17615: $? = 0 configure:17702: result: no configure:17874: checking if compiler accepts some basic options configure:17898: gcc -c -Werror-implicit-function-declaration conftest.c >&5 configure:17898: $? = 0 configure:17928: gcc -o conftest -Werror-implicit-function-declaration conftest.c >&5 configure:17928: $? = 0 configure:17970: gcc -o conftest -Werror-implicit-function-declaration conftest.c >&5 configure:17970: $? = 0 configure:17970: ./conftest configure:17970: $? = 0 configure:17989: result: yes configure:17991: compiler options added: -Werror-implicit-function-declaration configure:18058: checking if compiler accepts debug disabling options configure:18090: gcc -c -Werror-implicit-function-declaration conftest.c >&5 configure:18090: $? = 0 configure:18120: gcc -o conftest -Werror-implicit-function-declaration conftest.c >&5 configure:18120: $? = 0 configure:18162: gcc -o conftest -Werror-implicit-function-declaration conftest.c >&5 configure:18162: $? = 0 configure:18162: ./conftest configure:18162: $? = 0 configure:18181: result: yes configure:18183: compiler options added: configure:18215: checking if compiler optimizer assumed setting might be used configure:18253: result: yes configure:18299: checking if compiler accepts optimizer enabling options configure:18335: gcc -c -Werror-implicit-function-declaration -O2 conftest.c >&5 configure:18335: $? = 0 configure:18365: gcc -o conftest -Werror-implicit-function-declaration -O2 conftest.c >&5 configure:18365: $? = 0 configure:18407: gcc -o conftest -Werror-implicit-function-declaration -O2 conftest.c >&5 configure:18407: $? = 0 configure:18407: ./conftest configure:18407: $? = 0 configure:18426: result: yes configure:18428: compiler options added: -O2 configure:18711: checking if compiler accepts strict warning options configure:18735: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:18735: $? = 0 configure:18765: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:18765: $? = 0 configure:18807: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:18807: $? = 0 configure:18807: ./conftest configure:18807: $? = 0 configure:18826: result: yes configure:18828: compiler options added: -Wno-system-headers configure:18858: checking if compiler halts on compilation errors configure:18875: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:42:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:42:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:18875: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:18883: result: yes configure:18890: checking if compiler halts on negative sized arrays configure:18908: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:38:20: error: size of array 'bad_t' is negative typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; ^~~~~ configure:18908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #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:18916: result: yes configure:18923: checking if compiler halts on function prototype mismatch configure:18952: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:39:11: error: conflicting types for 'rand' int rand(int n); ^~~~ In file included from conftest.c:38: /usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here extern int rand (void) __THROW; ^~~~ conftest.c:40:11: error: conflicting types for 'rand' int rand(int n) ^~~~ In file included from conftest.c:38: /usr/include/stdlib.h:453:12: note: previous declaration of 'rand' was here extern int rand (void) __THROW; ^~~~ configure:18952: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #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:18960: result: yes configure:18967: checking if compiler supports hiding library internal symbols configure:19061: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5 configure:19061: $? = 0 configure:19084: result: yes configure:19197: checking for windows.h configure:19227: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:42:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:19227: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #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:19239: result: no configure:19252: checking whether build target is a native Windows one configure:19294: result: no configure:19606: checking whether build target supports WIN32 file API configure:19687: result: no configure:19702: checking for good-to-use Mac CFLAGS configure:19704: result: no configure:19750: checking whether to support http configure:19777: result: yes configure:19782: checking whether to support ftp configure:19801: result: yes configure:19806: checking whether to support file configure:19825: result: yes configure:19830: checking whether to support ldap configure:19851: result: yes configure:19856: checking whether to support ldaps configure:19900: result: yes configure:19912: checking whether to support rtsp configure:19937: result: yes configure:19948: checking whether to support proxies configure:19967: result: yes configure:19973: checking whether to support dict configure:19992: result: yes configure:19997: checking whether to support telnet configure:20016: result: yes configure:20021: checking whether to support tftp configure:20040: result: yes configure:20046: checking whether to support pop3 configure:20065: result: yes configure:20072: checking whether to support imap configure:20091: result: yes configure:20098: checking whether to support smb configure:20117: result: yes configure:20123: checking whether to support smtp configure:20142: result: yes configure:20148: checking whether to support gopher configure:20167: result: yes configure:20175: checking whether to provide built-in manual configure:20190: result: yes configure:20197: checking whether to enable generation of C code configure:20215: result: yes configure:20222: checking whether to use libgcc configure:20237: result: no configure:20244: checking if X/Open network library is required configure:20264: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:46:3: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:46:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ conftest.c:48:1: error: expected declaration or statement at end of input } ^ configure:20264: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 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:20271: result: no configure:20275: checking for gethostbyname configure:20275: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:20275: $? = 0 configure:20275: result: yes configure:20701: checking for windows.h configure:20743: result: no configure:20756: checking for winsock.h configure:20799: result: no configure:20812: checking for winsock2.h configure:20855: result: no configure:20869: checking for connect in libraries configure:20896: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:20896: $? = 0 configure:20914: result: yes configure:20927: checking whether time.h and sys/time.h may both be included configure:20946: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:20946: $? = 0 configure:20953: result: yes configure:20965: checking for sys/types.h configure:20965: result: yes configure:20965: checking sys/time.h usability configure:20965: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:20965: $? = 0 configure:20965: result: yes configure:20965: checking sys/time.h presence configure:20965: gcc -E conftest.c configure:20965: $? = 0 configure:20965: result: yes configure:20965: checking for sys/time.h configure:20965: result: yes configure:20965: checking time.h usability configure:20965: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:20965: $? = 0 configure:20965: result: yes configure:20965: checking time.h presence configure:20965: gcc -E conftest.c configure:20965: $? = 0 configure:20965: result: yes configure:20965: checking for time.h configure:20965: result: yes configure:20975: checking for monotonic clock_gettime configure:21008: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:21008: $? = 0 configure:21010: result: yes configure:21028: checking for clock_gettime in libraries configure:21070: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:21070: $? = 0 configure:21091: result: no additional lib required configure:21109: checking if monotonic clock_gettime works configure:21152: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:21152: $? = 0 configure:21152: ./conftest configure:21152: $? = 0 configure:21154: result: yes configure:21262: checking for pkg-config configure:21281: found /usr/bin/pkg-config configure:21293: result: /usr/bin/pkg-config configure:21318: checking for zlib options with pkg-config configure:21332: result: found configure:21397: checking zlib.h usability configure:21397: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:21397: $? = 0 configure:21397: result: yes configure:21397: checking zlib.h presence configure:21397: gcc -E conftest.c configure:21397: $? = 0 configure:21397: result: yes configure:21397: checking for zlib.h configure:21397: result: yes configure:21485: found both libz and libz.h header configure:21521: checking for lber.h configure:21559: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:60:10: fatal error: lber.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:21559: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #include | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21571: result: no configure:21638: checking for ldap.h configure:21678: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:63:10: fatal error: ldap.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:21678: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #include | | int main (void) | { | | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | | ; | return 0; | } | configure:21690: result: no configure:21703: checking for ldapssl.h configure:21749: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:69:10: fatal error: ldapssl.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:21749: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | #include | | int main (void) | { | | char *cert_label = NULL; | LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label); | | ; | return 0; | } | configure:21761: result: no configure:21774: checking for ldap_ssl.h configure:21816: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:66:10: fatal error: ldap_ssl.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. configure:21816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | #include | | int main (void) | { | | LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1); | | ; | return 0; | } | configure:21828: result: no configure:21910: checking for LDAP libraries configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lldap -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lldap -llber -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lldapssl -lldapx -lldapsdk -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21974: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lldapsdk -lldapx -lldapssl -lz >&5 conftest.c: In function 'main': conftest.c:73:11: error: unknown type name 'BerValue' BerValue *bvp = NULL; ^~~~~~~~ conftest.c:74:11: error: unknown type name 'BerElement' BerElement *bep = ber_init(bvp); ^~~~~~~~~~ conftest.c:74:29: error: implicit declaration of function 'ber_init' [-Werror=implicit-function-declaration] BerElement *bep = ber_init(bvp); ^~~~~~~~ conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] conftest.c:75:11: error: unknown type name 'LDAP' LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~ conftest.c:75:23: error: implicit declaration of function 'ldap_init' [-Werror=implicit-function-declaration] LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function) LDAP *ldp = ldap_init("dummy", LDAP_PORT); ^~~~~~~~~ conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in conftest.c:76:21: error: implicit declaration of function 'ldap_unbind' [-Werror=implicit-function-declaration] int res = ldap_unbind(ldp); ^~~~~~~~~~~ conftest.c:77:11: error: implicit declaration of function 'ber_free' [-Werror=implicit-function-declaration] ber_free(bep, 1); ^~~~~~~~ cc1: some warnings being treated as errors configure:21974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #endif | #ifndef NULL | #define NULL (void *)0 | #endif | #ifndef LDAP_DEPRECATED | #define LDAP_DEPRECATED 1 | #endif | #ifdef NEED_LBER_H | #include | #endif | #ifdef HAVE_LDAP_H | #include | #endif | | int main (void) | { | | BerValue *bvp = NULL; | BerElement *bep = ber_init(bvp); | LDAP *ldp = ldap_init("dummy", LDAP_PORT); | int res = ldap_unbind(ldp); | ber_free(bep, 1); | | ; | return 0; | } | configure:21988: result: cannot find LDAP libraries configure:22009: WARNING: Cannot find libraries for LDAP support: LDAP disabled configure:22128: checking whether to enable IPv6 configure:22169: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure:22169: $? = 0 configure:22169: ./conftest configure:22169: $? = 0 configure:22170: result: yes configure:22191: checking if struct sockaddr_in6 has sin6_scope_id member configure:22210: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:22210: $? = 0 configure:22215: result: yes configure:22227: checking if argv can be written to configure:22245: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:22245: $? = 0 configure:22245: ./conftest configure:22245: $? = 0 configure:22263: result: yes configure:22317: checking if GSS-API support is requested configure:22448: result: no configure:22517: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:22540: result: no configure:22556: checking whether to enable Apple OS native SSL/TLS configure:22572: result: no configure:22713: checking for pkg-config configure:22744: result: /usr/bin/pkg-config configure:22769: checking for openssl options with pkg-config configure:22780: result: no configure:22828: checking for HMAC_Update in -lcrypto configure:22850: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lcrypto -lz >&5 /usr/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status configure:22850: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char HMAC_Update (); | int main (void) | { | return HMAC_Update (); | ; | return 0; | } configure:22859: result: no configure:22870: checking for HMAC_Init_ex in -lcrypto configure:22892: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers -I/include/openssl -I/include -L conftest.c -lcrypto -lz >&5 /usr/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status configure:22892: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char HMAC_Init_ex (); | int main (void) | { | return HMAC_Init_ex (); | ; | return 0; | } configure:22901: result: no configure:22910: checking OpenSSL linking with -ldl configure:22927: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers -I/include/openssl -I/include -L conftest.c -ldl -lz >&5 /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o: In function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status configure:22927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | /* end confdefs.h. */ | | #include | | int main (void) | { | | ERR_clear_error(); | | ; | return 0; | } configure:22935: result: no configure:22938: checking OpenSSL linking with -ldl and -lpthread configure:22955: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers -I/include/openssl -I/include -L conftest.c -lpthread -ldl -lz >&5 /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o: In function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status configure:22955: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | /* end confdefs.h. */ | | #include | | int main (void) | { | | ERR_clear_error(); | | ; | return 0; | } configure:22963: result: no configure:25614: checking for ssl_version in -laxtls configure:25636: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -laxtls -lz >&5 /usr/bin/ld: cannot find -laxtls collect2: error: ld returned 1 exit status configure:25636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char ssl_version (); | int main (void) | { | return ssl_version (); | ; | return 0; | } configure:25645: result: no configure:25678: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure:25680: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this. configure:25691: checking default CA cert bundle/path configure:25803: result: /etc/pki/tls/certs/ca-bundle.crt configure:25821: checking whether to use builtin CA store of SSL library configure:25835: result: no configure:25859: checking for library containing psl_builtin configure:25887: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/cc1CqIC2.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `psl_builtin' collect2: error: ld returned 1 exit status configure:25887: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:25887: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lpsl -lz >&5 /usr/bin/ld: cannot find -lpsl collect2: error: ld returned 1 exit status configure:25887: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char psl_builtin (); | int main (void) | { | return psl_builtin (); | ; | return 0; | } configure:25904: result: no configure:25916: WARNING: libpsl was not found configure:26475: checking for libssh2_channel_open_ex in -lssh2 configure:26497: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lssh2 -lz >&5 /usr/bin/ld: cannot find -lssh2 collect2: error: ld returned 1 exit status configure:26497: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char libssh2_channel_open_ex (); | int main (void) | { | return libssh2_channel_open_ex (); | ; | return 0; | } configure:26506: result: no configure:26520: checking libssh2.h usability configure:26520: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:82:10: fatal error: libssh2.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:26520: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:26520: result: no configure:26520: checking libssh2.h presence configure:26520: gcc -E conftest.c conftest.c:49:10: fatal error: libssh2.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:26520: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | #include configure:26520: result: no configure:26520: checking for libssh2.h configure:26520: result: no configure:26733: checking for RTMP_Init in -lrtmp configure:26755: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lrtmp -lrtmp -lz >&5 /usr/bin/ld: cannot find -lrtmp /usr/bin/ld: cannot find -lrtmp collect2: error: ld returned 1 exit status configure:26755: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char RTMP_Init (); | int main (void) | { | return RTMP_Init (); | ; | return 0; | } configure:26764: result: no configure:26805: checking whether versioned symbols are wanted configure:26853: result: no configure:26872: checking whether to enable Windows native IDN (Windows native builds only) configure:26884: result: no configure:26972: checking whether to build with libidn2 configure:26990: result: (assumed) yes configure:27219: checking for pkg-config configure:27250: result: /usr/bin/pkg-config configure:27275: checking for libidn2 options with pkg-config configure:27286: result: no configure:27314: IDN_LIBS: "-lidn2" configure:27316: IDN_LDFLAGS: "" configure:27318: IDN_CPPFLAGS: "" configure:27320: IDN_DIR: "" configure:27328: checking if idn2_lookup_ul can be linked configure:27357: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lidn2 -lz >&5 /usr/bin/ld: cannot find -lidn2 collect2: error: ld returned 1 exit status configure:27357: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | | | #define idn2_lookup_ul innocuous_idn2_lookup_ul | #ifdef __STDC__ | # include | #else | # include | #endif | #undef idn2_lookup_ul | #ifdef __cplusplus | extern "C" | #endif | char idn2_lookup_ul (); | #if defined __stub_idn2_lookup_ul || defined __stub___idn2_lookup_ul | choke me | #endif | | int main (void) | { | return idn2_lookup_ul (); | ; | return 0; | } | configure:27365: result: no configure:27376: checking idn2.h usability configure:27376: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:82:10: fatal error: idn2.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:27376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:27376: result: no configure:27376: checking idn2.h presence configure:27376: gcc -E conftest.c conftest.c:49:10: fatal error: idn2.h: No such file or directory #include ^~~~~~~~ compilation terminated. configure:27376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | /* end confdefs.h. */ | #include configure:27376: result: no configure:27376: checking for idn2.h configure:27376: result: no configure:27402: WARNING: Cannot find libraries for IDN support: IDN disabled configure:27498: checking for pkg-config configure:27529: result: /usr/bin/pkg-config configure:27554: checking for libnghttp2 options with pkg-config configure:27565: result: no configure:27703: checking for ANSI C header files configure:27806: result: yes configure:27816: checking for malloc.h configure:27841: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:27841: $? = 0 configure:27853: result: yes configure:27881: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:27881: $? = 0 configure:27904: checking for memory.h configure:27929: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:58:19: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] void *p = malloc(10); ^~~~~~ conftest.c:58:19: warning: incompatible implicit declaration of built-in function 'malloc' conftest.c:58:19: note: include '' or provide a declaration of 'malloc' conftest.c:54:1: conftest.c:58:19: void *p = malloc(10); ^~~~~~ conftest.c:59:19: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] void *q = calloc(10,10); ^~~~~~ conftest.c:59:19: warning: incompatible implicit declaration of built-in function 'calloc' conftest.c:59:19: note: include '' or provide a declaration of 'calloc' conftest.c:60:9: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] free(p); ^~~~ conftest.c:60:9: warning: incompatible implicit declaration of built-in function 'free' conftest.c:60:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors configure:27929: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | void *p = malloc(10); | void *q = calloc(10,10); | free(p); | free(q); | | ; | return 0; | } | configure:27941: result: no configure:28035: checking for sys/types.h configure:28035: result: yes configure:28035: checking for sys/time.h configure:28035: result: yes configure:28035: checking for sys/select.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/socket.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/ioctl.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/uio.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for assert.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for unistd.h configure:28035: result: yes configure:28035: checking for stdlib.h configure:28035: result: yes configure:28035: checking for limits.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for arpa/inet.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for net/if.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for netinet/in.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/un.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for netinet/tcp.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for netdb.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/sockio.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:89:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. configure:28035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:28035: result: no configure:28035: checking for sys/stat.h configure:28035: result: yes configure:28035: checking for sys/param.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for termios.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for termio.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sgtty.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for fcntl.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for alloca.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for time.h configure:28035: result: yes configure:28035: checking for io.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:97:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. configure:28035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:28035: result: no configure:28035: checking for pwd.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for utime.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/utime.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:99:10: fatal error: sys/utime.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:28035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:28035: result: no configure:28035: checking for sys/poll.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for poll.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for socket.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:101:10: fatal error: socket.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. configure:28035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:28035: result: no configure:28035: checking for sys/resource.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for libgen.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for locale.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for errno.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for stdbool.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for arpa/tftp.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for sys/filio.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:107:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. configure:28035: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:28035: result: no configure:28035: checking for sys/wait.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28035: checking for setjmp.h configure:28035: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28035: $? = 0 configure:28035: result: yes configure:28067: checking for an ANSI C-conforming const configure:28132: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28132: $? = 0 configure:28139: result: yes configure:28148: checking for compiler support of C99 variadic macro style configure:28178: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28178: $? = 0 configure:28190: result: yes configure:28201: checking for compiler support of old gcc variadic macro style configure:28231: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28231: $? = 0 configure:28243: result: yes configure:28255: checking for size_t configure:28255: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28255: $? = 0 configure:28255: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:124:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:28255: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:28255: result: yes configure:28266: checking whether time.h and sys/time.h may both be included configure:28292: result: yes configure:28304: checking for sys/types.h configure:28304: result: yes configure:28304: checking for sys/time.h configure:28304: result: yes configure:28304: checking for time.h configure:28304: result: yes configure:28304: checking for sys/socket.h configure:28304: result: yes configure:28314: checking for struct timeval configure:28367: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28367: $? = 0 configure:28379: result: yes configure:28395: checking run-time libs availability configure:28412: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure:28412: $? = 0 configure:28412: ./conftest configure:28412: $? = 0 configure:28413: result: fine configure:28433: checking size of size_t configure:28438: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:28438: $? = 0 configure:28438: ./conftest configure:28438: $? = 0 configure:28452: result: 8 configure:28466: checking size of long configure:28485: result: 8 configure:28499: checking size of int configure:28504: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:28504: $? = 0 configure:28504: ./conftest configure:28504: $? = 0 configure:28518: result: 4 configure:28532: checking size of short configure:28537: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:28537: $? = 0 configure:28537: ./conftest configure:28537: $? = 0 configure:28551: result: 2 configure:28576: checking size of time_t configure:28581: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:28581: $? = 0 configure:28581: ./conftest configure:28581: $? = 0 configure:28595: result: 8 configure:28609: checking size of off_t configure:28614: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:28614: $? = 0 configure:28614: ./conftest configure:28614: $? = 0 configure:28628: result: 8 configure:28650: checking for long long configure:28650: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28650: $? = 0 configure:28650: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:137:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:28650: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:28650: result: yes configure:28661: checking if numberLL works configure:28678: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28678: $? = 0 configure:28680: result: yes configure:28697: checking for ssize_t configure:28697: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28697: $? = 0 configure:28697: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:139:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:28697: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:28697: result: yes configure:28708: checking for bool configure:28708: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28708: $? = 0 configure:28708: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:115:19: error: expected expression before ')' token if (sizeof ((bool))) ^ configure:28708: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_STDBOOL_H | #include | #endif | | | int main (void) | { | if (sizeof ((bool))) | return 0; | ; | return 0; | } configure:28708: result: yes configure:28743: checking for windows.h configure:28785: result: no configure:28798: checking for winsock2.h configure:28841: result: no configure:28854: checking for ws2tcpip.h configure:28898: result: no configure:28924: checking for sys/types.h configure:28924: result: yes configure:28924: checking for sys/socket.h configure:28924: result: yes configure:28949: checking for curl_socklen_t data type configure:28977: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:28977: $? = 0 configure:29014: result: socklen_t configure:29021: checking size of curl_socklen_t configure:29067: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:110:21: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^~~~~~~~~ configure:29067: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | | typedef socklen_t curl_socklen_t; | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | curl_socklen_t dummy; | | ; | return 0; | } | configure:29067: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:110:21: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^~~~~~~~~ configure:29067: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | | typedef socklen_t curl_socklen_t; | typedef char dummy_arr[sizeof(curl_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | curl_socklen_t dummy; | | ; | return 0; | } | configure:29067: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29067: $? = 0 configure:29077: result: 4 configure:29139: checking for sys/types.h configure:29139: result: yes configure:29139: checking for poll.h configure:29139: result: yes configure:29139: checking for sys/poll.h configure:29139: result: yes configure:29175: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:134:7: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:134:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:29175: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_POLL_H | # include | #endif | #ifdef HAVE_SYS_POLL_H | # include | #endif | /* includes end */ | | int main (void) | { | | #if defined(events) || defined(revents) | return 0; | #else | force compilation error | #endif | | ; | return 0; | } | configure:29199: checking for in_addr_t configure:29199: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29199: $? = 0 configure:29199: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:146:24: error: expected expression before ')' token if (sizeof ((in_addr_t))) ^ configure:29199: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((in_addr_t))) | return 0; | ; | return 0; | } configure:29199: result: yes configure:29315: checking for struct sockaddr_storage configure:29315: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29315: $? = 0 configure:29315: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:142:38: error: expected expression before ')' token if (sizeof ((struct sockaddr_storage))) ^ configure:29315: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((struct sockaddr_storage))) | return 0; | ; | return 0; | } configure:29315: result: yes configure:29352: checking signal.h usability configure:29352: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29352: $? = 0 configure:29352: result: yes configure:29352: checking signal.h presence configure:29352: gcc -E conftest.c configure:29352: $? = 0 configure:29352: result: yes configure:29352: checking for signal.h configure:29352: result: yes configure:29362: checking for sig_atomic_t configure:29362: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29362: $? = 0 configure:29362: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:124:27: error: expected expression before ')' token if (sizeof ((sig_atomic_t))) ^ configure:29362: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SIGNAL_H | #include | #endif | | | int main (void) | { | if (sizeof ((sig_atomic_t))) | return 0; | ; | return 0; | } configure:29362: result: yes configure:29379: checking if sig_atomic_t is already defined as volatile configure:29399: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:29399: $? = 0 configure:29401: result: no configure:29424: checking return type of signal handlers configure:29441: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:122:10: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ~^~~~~~~~~~~~~~~~~~ configure:29441: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | /* end confdefs.h. */ | #include | #include | | int main (void) | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:29448: result: void configure:29461: checking for sys/select.h configure:29461: result: yes configure:29461: checking for sys/socket.h configure:29461: result: yes configure:29472: checking for select configure:29524: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:29524: $? = 0 configure:29526: result: yes configure:29541: checking types of args and return type for select configure:29624: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29624: $? = 0 configure:29637: result: int,fd_set *,struct timeval *,int configure:29722: checking for sys/types.h configure:29722: result: yes configure:29722: checking for sys/socket.h configure:29722: result: yes configure:29733: checking for recv configure:29771: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:29771: $? = 0 configure:29773: result: yes configure:29788: checking types of args and return type for recv configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, size_t, int); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, int, int); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, size_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, void *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, char *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(ssize_t, void *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, char *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:35: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:162:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(SOCKET, void *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, size_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, size_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, socklen_t, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, socklen_t, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, unsigned int, int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:157:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:149: /usr/include/sys/socket.h:145:16: note: previous declaration of 'recv' was here extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); ^~~~ configure:29848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern ssize_t RECVCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | recv(int, char *, unsigned int, unsigned int); | | 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:29848: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:29848: $? = 0 configure:29862: result: int,void *,size_t,int,ssize_t configure:29913: checking for sys/types.h configure:29913: result: yes configure:29913: checking for sys/socket.h configure:29913: result: yes configure:29924: checking for send configure:29962: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:29962: $? = 0 configure:29964: result: yes configure:29979: checking types of args and return type for send configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const void *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, size_t, int); | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, int, int); | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, int, unsigned int); | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, socklen_t, int); | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, unsigned int, int); | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, char *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, size_t, int); | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, int, int); | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, int, unsigned int); | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, socklen_t, int); | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, unsigned int, int); | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, void *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, size_t, int); | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, int, int); | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, int, unsigned int); | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, socklen_t, int); | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, unsigned int, int); | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const char *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, size_t, int); | | int main (void) | { | | ssize_t s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, int, int); | | int main (void) | { | | ssize_t s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, int, unsigned int); | | int main (void) | { | | ssize_t s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, socklen_t, int); | | int main (void) | { | | ssize_t s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, unsigned int, int); | | int main (void) | { | | ssize_t s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(ssize_t, const void *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, size_t, int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, size_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, int, int); | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, int, unsigned int); | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, socklen_t, int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, socklen_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, unsigned int, int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, char *, unsigned int, unsigned int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, size_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, size_t, int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, size_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, size_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, int, int); | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, int, unsigned int); | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, socklen_t, int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, socklen_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, unsigned int, int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, unsigned int); ^~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, void *, unsigned int, unsigned int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, size_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, size_t, int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, size_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, size_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, int, int); | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, int, unsigned int); | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, socklen_t, int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, socklen_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, unsigned int, int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const char *, unsigned int, unsigned int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, size_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, size_t, int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, size_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, size_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, int, int); | | int main (void) | { | | SOCKET s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, int, unsigned int); | | int main (void) | { | | SOCKET s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, socklen_t, int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, socklen_t, unsigned int); | | int main (void) | { | | SOCKET s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, unsigned int, int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:35: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, unsigned int); ^~~~~~ ) conftest.c: In function 'main': conftest.c:170:23: error: unknown type name 'SOCKET' SOCKET s=0; ^~~~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(SOCKET, const void *, unsigned int, unsigned int); | | int main (void) | { | | SOCKET s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, char *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, void *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, size_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, socklen_t, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | ssize_t res = send(s, 0, len, flags); | | ; | return 0; | } | configure:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:165:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^~~~ In file included from conftest.c:157: /usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^~~~ configure:30038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern ssize_t SENDCALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | send(int, const char *, unsigned int, unsigned int); | | 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:30038: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:30038: $? = 0 configure:30052: result: int,const void *,size_t,int,ssize_t configure:30140: checking for sys/types.h configure:30140: result: yes configure:30140: checking for sys/socket.h configure:30140: result: yes configure:30150: checking for MSG_NOSIGNAL configure:30192: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:30192: $? = 0 configure:30204: result: yes configure:30230: checking for sys/types.h configure:30230: result: yes configure:30230: checking for unistd.h configure:30230: result: yes configure:30249: checking if alarm can be linked configure:30278: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:30278: $? = 0 configure:30280: result: yes configure:30295: checking if alarm is prototyped configure:30306: result: yes configure:30322: checking if alarm is compilable configure:30341: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:30341: $? = 0 configure:30343: result: yes configure:30358: checking if alarm usage allowed configure:30361: result: yes configure:30371: checking if alarm might be used configure:30377: result: yes configure:30407: checking for sys/types.h configure:30407: result: yes configure:30407: checking for string.h configure:30407: result: yes configure:30407: checking for strings.h configure:30407: result: yes configure:30432: checking for sys/types.h configure:30432: result: yes configure:30432: checking for libgen.h configure:30432: result: yes configure:30451: checking if basename can be linked configure:30480: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:30480: $? = 0 configure:30482: result: yes configure:30497: checking if basename is prototyped configure:30510: result: yes configure:30526: checking if basename is compilable configure:30547: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:30547: $? = 0 configure:30549: result: yes configure:30564: checking if basename usage allowed configure:30567: result: yes configure:30577: checking if basename might be used configure:30583: result: yes configure:30610: checking for sys/types.h configure:30610: result: yes configure:30610: checking for socket.h configure:30610: result: no configure:30629: checking if closesocket can be linked configure:30649: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:185:15: error: implicit declaration of function 'closesocket' [-Werror=implicit-function-declaration] if(0 != closesocket(0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:30649: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV ssize_t | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SEND_TYPE_ARG1 int | #define SEND_TYPE_ARG3 size_t | #define SEND_TYPE_ARG4 int | #define SEND_TYPE_RETV ssize_t | #define SEND_QUAL_ARG2 const | #define SEND_TYPE_ARG2 void * | #define HAVE_SEND 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_MSG_NOSIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_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:30657: result: no configure:30744: checking if closesocket might be used configure:30759: result: no configure:30771: checking if CloseSocket can be linked configure:30790: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:170:15: error: implicit declaration of function 'CloseSocket'; did you mean 'socket'? [-Werror=implicit-function-declaration] if(0 != CloseSocket(0)) ^~~~~~~~~~~ socket cc1: some warnings being treated as errors configure:30790: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_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:30798: result: no configure:30883: checking if CloseSocket might be used configure:30898: result: no configure:30910: checking if connect can be linked configure:30931: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:30931: $? = 0 configure:30933: result: yes configure:30948: checking if connect is prototyped configure:30961: result: yes configure:30977: checking if connect is compilable configure:30998: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:30998: $? = 0 configure:31000: result: yes configure:31015: checking if connect usage allowed configure:31018: result: yes configure:31028: checking if connect might be used configure:31034: result: yes configure:31064: checking for sys/types.h configure:31064: result: yes configure:31064: checking for unistd.h configure:31064: result: yes configure:31064: checking for fcntl.h configure:31064: result: yes configure:31083: checking if fcntl can be linked configure:31112: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:31112: $? = 0 configure:31114: result: yes configure:31129: checking if fcntl is prototyped configure:31140: result: yes configure:31156: checking if fcntl is compilable configure:31175: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31175: $? = 0 configure:31177: result: yes configure:31192: checking if fcntl usage allowed configure:31195: result: yes configure:31205: checking if fcntl might be used configure:31211: result: yes configure:31231: checking if fcntl O_NONBLOCK is compilable configure:31251: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31251: $? = 0 configure:31253: result: yes configure:31268: checking if fcntl O_NONBLOCK usage allowed configure:31271: result: yes configure:31281: checking if fcntl O_NONBLOCK might be used configure:31285: result: yes configure:31318: checking for sys/types.h configure:31318: result: yes configure:31318: checking for stdio.h configure:31318: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31318: $? = 0 configure:31318: result: yes configure:31337: checking if fdopen can be linked configure:31366: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:31366: $? = 0 configure:31368: result: yes configure:31383: checking if fdopen is prototyped configure:31394: result: yes configure:31410: checking if fdopen is compilable configure:31429: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31429: $? = 0 configure:31431: result: yes configure:31446: checking if fdopen usage allowed configure:31449: result: yes configure:31459: checking if fdopen might be used configure:31465: result: yes configure:31492: checking for sys/types.h configure:31492: result: yes configure:31492: checking for netdb.h configure:31492: result: yes configure:31511: checking if freeaddrinfo can be linked configure:31531: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:31531: $? = 0 configure:31533: result: yes configure:31548: checking if freeaddrinfo is prototyped configure:31561: result: yes configure:31577: checking if freeaddrinfo is compilable configure:31597: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31597: $? = 0 configure:31599: result: yes configure:31614: checking if freeaddrinfo usage allowed configure:31617: result: yes configure:31627: checking if freeaddrinfo might be used configure:31633: result: yes configure:31666: checking for sys/types.h configure:31666: result: yes configure:31666: checking for sys/socket.h configure:31666: result: yes configure:31666: checking for netinet/in.h configure:31666: result: yes configure:31666: checking for ifaddrs.h configure:31666: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31666: $? = 0 configure:31666: result: yes configure:31685: checking if freeifaddrs can be linked configure:31714: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:31714: $? = 0 configure:31716: result: yes configure:31731: checking if freeifaddrs is prototyped configure:31742: result: yes configure:31758: checking if freeifaddrs is compilable configure:31776: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31776: $? = 0 configure:31778: result: yes configure:31793: checking if freeifaddrs usage allowed configure:31796: result: yes configure:31806: checking if freeifaddrs might be used configure:31812: result: yes configure:31839: checking for sys/types.h configure:31839: result: yes configure:31839: checking for sys/xattr.h configure:31839: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31839: $? = 0 configure:31839: result: yes configure:31859: checking if fsetxattr can be linked configure:31888: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:31888: $? = 0 configure:31890: result: yes configure:31905: checking if fsetxattr is prototyped configure:31916: result: yes configure:31933: checking if fsetxattr takes 5 args. configure:31952: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:31952: $? = 0 configure:31954: result: yes configure:32004: checking if fsetxattr is compilable configure:32007: result: yes configure:32016: checking if fsetxattr usage allowed configure:32019: result: yes configure:32029: checking if fsetxattr might be used configure:32035: result: yes configure:32067: checking if ftruncate can be linked configure:32096: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32096: $? = 0 configure:32098: result: yes configure:32113: checking if ftruncate is prototyped configure:32124: result: yes configure:32140: checking if ftruncate is compilable configure:32159: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32159: $? = 0 configure:32161: result: yes configure:32176: checking if ftruncate usage allowed configure:32179: result: yes configure:32189: checking if ftruncate might be used configure:32195: result: yes configure:32222: checking for sys/types.h configure:32222: result: yes configure:32222: checking for stdlib.h configure:32222: result: yes configure:32243: checking if getaddrinfo can be linked configure:32264: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32264: $? = 0 configure:32266: result: yes configure:32281: checking if getaddrinfo is prototyped configure:32294: result: yes configure:32310: checking if getaddrinfo is compilable configure:32331: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32331: $? = 0 configure:32333: result: yes configure:32349: checking if getaddrinfo seems to work configure:32395: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32395: $? = 0 configure:32395: ./conftest configure:32395: $? = 0 configure:32397: result: yes configure:32416: checking if getaddrinfo usage allowed configure:32419: result: yes configure:32429: checking if getaddrinfo might be used configure:32436: result: yes configure:32452: checking if getaddrinfo is threadsafe configure:32517: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32517: $? = 0 configure:32559: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32559: $? = 0 configure:32590: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:192:11: error: unknown type name 'force' force compilation error ^~~~~ conftest.c:192:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^~~~~ configure:32590: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | /* end confdefs.h. */ | | | | int main (void) | { | | #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) | return 0; | #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700) | return 0; | #else | force compilation error | #endif | | ; | return 0; | } | configure:32608: result: yes configure:32629: checking if gai_strerror can be linked configure:32649: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32649: $? = 0 configure:32651: result: yes configure:32666: checking if gai_strerror is prototyped configure:32678: result: yes configure:32694: checking if gai_strerror is compilable configure:32714: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32714: $? = 0 configure:32716: result: yes configure:32731: checking if gai_strerror usage allowed configure:32734: result: yes configure:32744: checking if gai_strerror might be used configure:32750: result: yes configure:32771: checking if gethostbyaddr can be linked configure:32791: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32791: $? = 0 configure:32793: result: yes configure:32808: checking if gethostbyaddr is prototyped configure:32820: result: yes configure:32836: checking if gethostbyaddr is compilable configure:32856: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:32856: $? = 0 configure:32858: result: yes configure:32873: checking if gethostbyaddr usage allowed configure:32876: result: yes configure:32886: checking if gethostbyaddr might be used configure:32892: result: yes configure:32914: checking if gethostbyaddr_r can be linked configure:32943: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:32943: $? = 0 configure:32945: result: yes configure:32960: checking if gethostbyaddr_r is prototyped configure:32971: result: yes configure:32988: checking if gethostbyaddr_r takes 5 args. configure:33007: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:198:19: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:191: /usr/include/netdb.h:170:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^~~~~~~~~~~~~~~ configure:33007: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33016: result: no configure:33024: checking if gethostbyaddr_r takes 7 args. configure:33043: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:198:19: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:191: /usr/include/netdb.h:170:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^~~~~~~~~~~~~~~ configure:33043: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33052: result: no configure:33060: checking if gethostbyaddr_r takes 8 args. configure:33079: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33079: $? = 0 configure:33081: result: yes configure:33095: checking if gethostbyaddr_r is compilable configure:33098: result: yes configure:33107: checking if gethostbyaddr_r usage allowed configure:33110: result: yes configure:33120: checking if gethostbyaddr_r might be used configure:33126: result: yes configure:33162: checking if gethostbyname can be linked configure:33182: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33182: $? = 0 configure:33184: result: yes configure:33199: checking if gethostbyname is prototyped configure:33211: result: yes configure:33227: checking if gethostbyname is compilable configure:33247: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33247: $? = 0 configure:33249: result: yes configure:33264: checking if gethostbyname usage allowed configure:33267: result: yes configure:33277: checking if gethostbyname might be used configure:33283: result: yes configure:33305: checking if gethostbyname_r can be linked configure:33334: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33334: $? = 0 configure:33336: result: yes configure:33351: checking if gethostbyname_r is prototyped configure:33362: result: yes configure:33379: checking if gethostbyname_r takes 3 args. configure:33398: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:201:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:194: /usr/include/netdb.h:177:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^~~~~~~~~~~~~~~ configure:33398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33407: result: no configure:33415: checking if gethostbyname_r takes 5 args. configure:33434: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:201:19: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:194: /usr/include/netdb.h:177:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^~~~~~~~~~~~~~~ configure:33434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33443: result: no configure:33451: checking if gethostbyname_r takes 6 args. configure:33470: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33470: $? = 0 configure:33472: result: yes configure:33486: checking if gethostbyname_r is compilable configure:33489: result: yes configure:33498: checking if gethostbyname_r usage allowed configure:33501: result: yes configure:33511: checking if gethostbyname_r might be used configure:33517: result: yes configure:33553: checking if gethostname can be linked configure:33573: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33573: $? = 0 configure:33575: result: yes configure:33590: checking if gethostname is prototyped configure:33602: result: yes configure:33618: checking if gethostname is compilable configure:33638: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33638: $? = 0 configure:33640: result: yes configure:33655: checking for gethostname arg 2 data type configure:33681: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:221:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, int); ^~~~~~~~~~~ In file included from conftest.c:211: /usr/include/unistd.h:877:12: note: previous declaration of 'gethostname' was here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); ^~~~~~~~~~~ configure:33681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV gethostname(char *, int); | | int main (void) | { | | if(0 != gethostname(0, 0)) | return 1; | | ; | return 0; | } | configure:33681: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:221:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, unsigned int); ^~~~~~~~~~~ In file included from conftest.c:211: /usr/include/unistd.h:877:12: note: previous declaration of 'gethostname' was here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); ^~~~~~~~~~~ configure:33681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV gethostname(char *, unsigned int); | | int main (void) | { | | if(0 != gethostname(0, 0)) | return 1; | | ; | return 0; | } | configure:33681: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33681: $? = 0 configure:33690: result: size_t configure:33702: checking if gethostname usage allowed configure:33705: result: yes configure:33715: checking if gethostname might be used configure:33721: result: yes configure:33743: checking if getifaddrs can be linked configure:33772: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33772: $? = 0 configure:33774: result: yes configure:33789: checking if getifaddrs is prototyped configure:33800: result: yes configure:33816: checking if getifaddrs is compilable configure:33835: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:33835: $? = 0 configure:33837: result: yes configure:33853: checking if getifaddrs seems to work configure:33885: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33885: $? = 0 configure:33885: ./conftest configure:33885: $? = 0 configure:33887: result: yes configure:33906: checking if getifaddrs usage allowed configure:33909: result: yes configure:33919: checking if getifaddrs might be used configure:33926: result: yes configure:33948: checking if getservbyport_r can be linked configure:33977: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:33977: $? = 0 configure:33979: result: yes configure:33994: checking if getservbyport_r is prototyped configure:34005: result: yes configure:34022: checking if getservbyport_r takes 4 args. configure:34041: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:206:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:199: /usr/include/netdb.h:316:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^~~~~~~~~~~~~~~ configure:34041: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:34050: result: no configure:34058: checking if getservbyport_r takes 5 args. configure:34077: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:206:19: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0, 0)) ^~~~~~~~~~~~~~~ In file included from conftest.c:199: /usr/include/netdb.h:316:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^~~~~~~~~~~~~~~ configure:34077: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:34086: result: no configure:34094: checking if getservbyport_r takes 6 args. configure:34113: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:34113: $? = 0 configure:34115: result: yes configure:34129: checking if getservbyport_r is compilable configure:34132: result: yes configure:34141: checking if getservbyport_r usage allowed configure:34144: result: yes configure:34154: checking if getservbyport_r might be used configure:34160: result: yes configure:34208: checking for sys/types.h configure:34208: result: yes configure:34208: checking for sys/time.h configure:34208: result: yes configure:34208: checking for time.h configure:34208: result: yes configure:34228: checking if gmtime_r can be linked configure:34257: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:34257: $? = 0 configure:34259: result: yes configure:34274: checking if gmtime_r is prototyped configure:34285: result: yes configure:34301: checking if gmtime_r is compilable configure:34320: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:34320: $? = 0 configure:34322: result: yes configure:34338: checking if gmtime_r seems to work configure:34370: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:34370: $? = 0 configure:34370: ./conftest configure:34370: $? = 0 configure:34372: result: yes configure:34391: checking if gmtime_r usage allowed configure:34394: result: yes configure:34404: checking if gmtime_r might be used configure:34411: result: yes configure:34448: checking for sys/types.h configure:34448: result: yes configure:34448: checking for sys/socket.h configure:34448: result: yes configure:34448: checking for netinet/in.h configure:34448: result: yes configure:34448: checking for arpa/inet.h configure:34448: result: yes configure:34468: checking if inet_ntoa_r can be linked configure:34497: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccG6iZDk.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:34497: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:34505: result: no configure:34640: checking if inet_ntoa_r might be used configure:34666: result: no configure:34679: checking if inet_ntop can be linked configure:34708: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:34708: $? = 0 configure:34710: result: yes configure:34725: checking if inet_ntop is prototyped configure:34736: result: yes configure:34752: checking if inet_ntop is compilable configure:34771: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:34771: $? = 0 configure:34773: result: yes configure:34789: checking if inet_ntop seems to work configure:34863: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:260:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res)); ^ conftest.c:284:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res)); ^ configure:34863: $? = 0 configure:34863: ./conftest configure:34863: $? = 0 configure:34865: result: yes configure:34884: checking if inet_ntop usage allowed configure:34887: result: yes configure:34897: checking if inet_ntop might be used configure:34904: result: yes configure:34926: checking if inet_pton can be linked configure:34955: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:34955: $? = 0 configure:34957: result: yes configure:34972: checking if inet_pton is prototyped configure:34983: result: yes configure:34999: checking if inet_pton is compilable configure:35018: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:35018: $? = 0 configure:35020: result: yes configure:35036: checking if inet_pton seems to work configure:35103: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:35103: $? = 0 configure:35103: ./conftest configure:35103: $? = 0 configure:35105: result: yes configure:35124: checking if inet_pton usage allowed configure:35127: result: yes configure:35137: checking if inet_pton might be used configure:35144: result: yes configure:35180: checking for sys/types.h configure:35180: result: yes configure:35180: checking for unistd.h configure:35180: result: yes configure:35180: checking for sys/socket.h configure:35180: result: yes configure:35180: checking for sys/ioctl.h configure:35180: result: yes configure:35180: checking for stropts.h configure:35180: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:227:10: fatal error: stropts.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:35180: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* 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:35180: result: no configure:35199: checking if ioctl can be linked configure:35228: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:35228: $? = 0 configure:35230: result: yes configure:35245: checking if ioctl is prototyped configure:35256: result: yes configure:35272: checking if ioctl is compilable configure:35291: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:35291: $? = 0 configure:35293: result: yes configure:35308: checking if ioctl usage allowed configure:35311: result: yes configure:35321: checking if ioctl might be used configure:35327: result: yes configure:35341: checking if ioctl FIONBIO is compilable configure:35361: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:35361: $? = 0 configure:35363: result: yes configure:35378: checking if ioctl FIONBIO usage allowed configure:35381: result: yes configure:35391: checking if ioctl FIONBIO might be used configure:35395: result: yes configure:35415: checking if ioctl SIOCGIFADDR is compilable configure:35436: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:35436: $? = 0 configure:35438: result: yes configure:35453: checking if ioctl SIOCGIFADDR usage allowed configure:35456: result: yes configure:35466: checking if ioctl SIOCGIFADDR might be used configure:35470: result: yes configure:35497: checking if ioctlsocket can be linked configure:35516: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:233:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] if(0 != ioctlsocket(0, 0, 0)) ^~~~~~~~~~~ cc1: some warnings being treated as errors configure:35516: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:35524: result: no configure:35609: checking if ioctlsocket might be used configure:35698: result: no configure:35710: checking if IoctlSocket can be linked configure:35739: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccM9ZkRN.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:35739: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:35747: result: no configure:35832: checking if IoctlSocket might be used configure:35921: result: no configure:35934: checking if localtime_r can be linked configure:35963: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:35963: $? = 0 configure:35965: result: yes configure:35980: checking if localtime_r is prototyped configure:35991: result: yes configure:36007: checking if localtime_r is compilable configure:36026: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:36026: $? = 0 configure:36028: result: yes configure:36044: checking if localtime_r seems to work configure:36076: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36076: $? = 0 configure:36076: ./conftest configure:36076: $? = 0 configure:36078: result: yes configure:36097: checking if localtime_r usage allowed configure:36100: result: yes configure:36110: checking if localtime_r might be used configure:36117: result: yes configure:36139: checking if memrchr can be linked configure:36168: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36168: $? = 0 configure:36170: result: yes configure:36222: checking if memrchr is prototyped configure:36239: result: no configure:36299: checking if memrchr might be used configure:36314: result: no configure:36334: checking if poll can be linked configure:36353: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36353: $? = 0 configure:36355: result: yes configure:36370: checking if poll is prototyped configure:36381: result: yes configure:36397: checking if poll is compilable configure:36416: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:36416: $? = 0 configure:36418: result: yes configure:36434: checking if poll seems to work configure:36478: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36478: $? = 0 configure:36478: ./conftest configure:36478: $? = 0 configure:36480: result: yes configure:36499: checking if poll usage allowed configure:36502: result: yes configure:36512: checking if poll might be used configure:36519: result: yes configure:36545: checking if setsockopt can be linked configure:36565: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36565: $? = 0 configure:36567: result: yes configure:36582: checking if setsockopt is prototyped configure:36594: result: yes configure:36610: checking if setsockopt is compilable configure:36630: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:36630: $? = 0 configure:36632: result: yes configure:36647: checking if setsockopt usage allowed configure:36650: result: yes configure:36660: checking if setsockopt might be used configure:36666: result: yes configure:36680: checking if setsockopt SO_NONBLOCK is compilable configure:36700: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:245:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ^~~~~~~~~~~ SOCK_NONBLOCK conftest.c:245:43: note: each undeclared identifier is reported only once for each function it appears in configure:36700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | return 1; | | ; | return 0; | } | configure:36708: result: no configure:36730: checking if setsockopt SO_NONBLOCK might be used configure:36743: result: no configure:36767: checking for sys/types.h configure:36767: result: yes configure:36767: checking for signal.h configure:36767: result: yes configure:36786: checking if sigaction can be linked configure:36815: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36815: $? = 0 configure:36817: result: yes configure:36832: checking if sigaction is prototyped configure:36843: result: yes configure:36859: checking if sigaction is compilable configure:36878: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:36878: $? = 0 configure:36880: result: yes configure:36895: checking if sigaction usage allowed configure:36898: result: yes configure:36908: checking if sigaction might be used configure:36914: result: yes configure:36935: checking if siginterrupt can be linked configure:36964: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:36964: $? = 0 configure:36966: result: yes configure:36981: checking if siginterrupt is prototyped configure:36992: result: yes configure:37008: checking if siginterrupt is compilable configure:37027: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37027: $? = 0 configure:37029: result: yes configure:37044: checking if siginterrupt usage allowed configure:37047: result: yes configure:37057: checking if siginterrupt might be used configure:37063: result: yes configure:37084: checking if signal can be linked configure:37113: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:37113: $? = 0 configure:37115: result: yes configure:37130: checking if signal is prototyped configure:37141: result: yes configure:37157: checking if signal is compilable configure:37176: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37176: $? = 0 configure:37178: result: yes configure:37193: checking if signal usage allowed configure:37196: result: yes configure:37206: checking if signal might be used configure:37212: result: yes configure:37239: checking for sys/types.h configure:37239: result: yes configure:37239: checking for setjmp.h configure:37239: result: yes configure:37259: checking if sigsetjmp can be linked configure:37288: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccdQ85yU.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `sigsetjmp' collect2: error: ld returned 1 exit status configure:37288: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:37296: result: no configure:37305: checking if sigsetjmp seems a macro configure:37325: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:37325: $? = 0 configure:37327: result: yes configure:37371: checking if sigsetjmp is compilable configure:37391: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37391: $? = 0 configure:37393: result: yes configure:37408: checking if sigsetjmp usage allowed configure:37411: result: yes configure:37421: checking if sigsetjmp might be used configure:37427: result: yes configure:37448: checking if socket can be linked configure:37469: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:37469: $? = 0 configure:37471: result: yes configure:37486: checking if socket is prototyped configure:37499: result: yes configure:37515: checking if socket is compilable configure:37536: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37536: $? = 0 configure:37538: result: yes configure:37553: checking if socket usage allowed configure:37556: result: yes configure:37566: checking if socket might be used configure:37572: result: yes configure:37593: checking if socketpair can be linked configure:37622: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:37622: $? = 0 configure:37624: result: yes configure:37639: checking if socketpair is prototyped configure:37651: result: yes configure:37667: checking if socketpair is compilable configure:37688: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37688: $? = 0 configure:37690: result: yes configure:37705: checking if socketpair usage allowed configure:37708: result: yes configure:37718: checking if socketpair might be used configure:37724: result: yes configure:37745: checking if strcasecmp can be linked configure:37774: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:238:6: warning: conflicting types for built-in function 'strcasecmp' [-Wbuiltin-declaration-mismatch] char strcasecmp (); ^~~~~~~~~~ configure:37774: $? = 0 configure:37776: result: yes configure:37791: checking if strcasecmp is prototyped configure:37802: result: yes configure:37818: checking if strcasecmp is compilable configure:37837: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:37837: $? = 0 configure:37839: result: yes configure:37854: checking if strcasecmp usage allowed configure:37857: result: yes configure:37867: checking if strcasecmp might be used configure:37873: result: yes configure:37894: checking if strcmpi can be linked configure:37923: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccwA5lh0.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:37923: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:37931: result: no configure:38016: checking if strcmpi might be used configure:38031: result: no configure:38043: checking if strdup can be linked configure:38072: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:239:6: warning: conflicting types for built-in function 'strdup' [-Wbuiltin-declaration-mismatch] char strdup (); ^~~~~~ configure:38072: $? = 0 configure:38074: result: yes configure:38089: checking if strdup is prototyped configure:38100: result: yes configure:38116: checking if strdup is compilable configure:38135: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:38135: $? = 0 configure:38137: result: yes configure:38152: checking if strdup usage allowed configure:38155: result: yes configure:38165: checking if strdup might be used configure:38171: result: yes configure:38198: checking if strerror_r can be linked configure:38227: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:38227: $? = 0 configure:38229: result: yes configure:38244: checking if strerror_r is prototyped configure:38255: result: yes configure:38271: checking if strerror_r is compilable configure:38290: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:38290: $? = 0 configure:38292: result: yes configure:38307: checking if strerror_r is glibc like configure:38330: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:241:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, size_t bufsize); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from conftest.c:232: /usr/include/string.h:409:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38330: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:241:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, int bufsize); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from conftest.c:232: /usr/include/string.h:409:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38330: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:241:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from conftest.c:232: /usr/include/string.h:409:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^~~~~~~~~~~~~~ configure:38330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38340: result: no configure:38410: checking if strerror_r is POSIX like configure:38433: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:38433: $? = 0 configure:38448: result: yes configure:38457: checking if strerror_r seems to work configure:38492: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:38492: $? = 0 configure:38492: ./conftest configure:38492: $? = 0 configure:38494: result: yes configure:38528: checking if strerror_r usage allowed configure:38531: result: yes configure:38541: checking if strerror_r might be used configure:38547: result: yes configure:38604: checking if stricmp can be linked configure:38633: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccQHfbej.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:38633: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_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:38641: result: no configure:38726: checking if stricmp might be used configure:38741: result: no configure:38753: checking if strncasecmp can be linked configure:38782: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:243:6: warning: conflicting types for built-in function 'strncasecmp' [-Wbuiltin-declaration-mismatch] char strncasecmp (); ^~~~~~~~~~~ configure:38782: $? = 0 configure:38784: result: yes configure:38799: checking if strncasecmp is prototyped configure:38810: result: yes configure:38826: checking if strncasecmp is compilable configure:38845: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:38845: $? = 0 configure:38847: result: yes configure:38862: checking if strncasecmp usage allowed configure:38865: result: yes configure:38875: checking if strncasecmp might be used configure:38881: result: yes configure:38902: checking if strncmpi can be linked configure:38931: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccgvuO0q.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:38931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strncmpi innocuous_strncmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strncmpi | #ifdef __cplusplus | extern "C" | #endif | char strncmpi (); | #if defined __stub_strncmpi || defined __stub___strncmpi | choke me | #endif | | int main (void) | { | return strncmpi (); | ; | return 0; | } | configure:38939: result: no configure:39024: checking if strncmpi might be used configure:39039: result: no configure:39051: checking if strnicmp can be linked configure:39080: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccWI2wAu.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:39080: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strnicmp innocuous_strnicmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strnicmp | #ifdef __cplusplus | extern "C" | #endif | char strnicmp (); | #if defined __stub_strnicmp || defined __stub___strnicmp | choke me | #endif | | int main (void) | { | return strnicmp (); | ; | return 0; | } | configure:39088: result: no configure:39173: checking if strnicmp might be used configure:39188: result: no configure:39200: checking if strstr can be linked configure:39229: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:244:6: warning: conflicting types for built-in function 'strstr' [-Wbuiltin-declaration-mismatch] char strstr (); ^~~~~~ configure:39229: $? = 0 configure:39231: result: yes configure:39246: checking if strstr is prototyped configure:39257: result: yes configure:39273: checking if strstr is compilable configure:39292: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:39292: $? = 0 configure:39294: result: yes configure:39309: checking if strstr usage allowed configure:39312: result: yes configure:39322: checking if strstr might be used configure:39328: result: yes configure:39349: checking if strtok_r can be linked configure:39378: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39378: $? = 0 configure:39380: result: yes configure:39395: checking if strtok_r is prototyped configure:39406: result: yes configure:39422: checking if strtok_r is compilable configure:39441: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:39441: $? = 0 configure:39443: result: yes configure:39458: checking if strtok_r usage allowed configure:39461: result: yes configure:39471: checking if strtok_r might be used configure:39477: result: yes configure:39498: checking if strtoll can be linked configure:39527: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39527: $? = 0 configure:39529: result: yes configure:39544: checking if strtoll is prototyped configure:39555: result: yes configure:39571: checking if strtoll is compilable configure:39590: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:39590: $? = 0 configure:39592: result: yes configure:39607: checking if strtoll usage allowed configure:39610: result: yes configure:39620: checking if strtoll might be used configure:39626: result: yes configure:39653: checking for sys/types.h configure:39653: result: yes configure:39653: checking for sys/uio.h configure:39653: result: yes configure:39672: checking if writev can be linked configure:39701: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39701: $? = 0 configure:39703: result: yes configure:39718: checking if writev is prototyped configure:39729: result: yes configure:39745: checking if writev is compilable configure:39764: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:39764: $? = 0 configure:39766: result: yes configure:39781: checking if writev usage allowed configure:39784: result: yes configure:39794: checking if writev might be used configure:39800: result: yes configure:39841: checking for geteuid configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for getpass_r configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccobNIsN.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:39841: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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:39841: result: no configure:39853: checking deeper for getpass_r configure:39870: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:245:9: error: implicit declaration of function 'getpass_r' [-Werror=implicit-function-declaration] getpass_r (); ^~~~~~~~~ cc1: some warnings being treated as errors configure:39870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | | | int main (void) | { | | getpass_r (); | | ; | return 0; | } | configure:39883: result: but still no configure:39841: checking for getppid configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for getpwuid configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for getpwuid_r configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for getrlimit configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for gettimeofday configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for if_nametoindex configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for pipe configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for setlocale configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for setmode configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/cczEELJ3.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:39841: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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:39841: result: no configure:39853: checking deeper for setmode configure:39870: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c: In function 'main': conftest.c:253:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration] setmode (); ^~~~~~~ cc1: some warnings being treated as errors configure:39870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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:39883: result: but still no configure:39841: checking for setrlimit configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for utime configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39841: checking for utimes configure:39841: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39841: $? = 0 configure:39841: result: yes configure:39899: checking for sys/types.h configure:39899: result: yes configure:39899: checking for sys/socket.h configure:39899: result: yes configure:39899: checking for netdb.h configure:39899: result: yes configure:39910: checking for getnameinfo configure:39939: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 configure:39939: $? = 0 configure:39941: result: yes configure:40049: checking types of arguments for getnameinfo configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, size_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(struct sockaddr *, int, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:289:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c:290:52: error: unknown type name 'DWORD' char *, DWORD, ^~~~~ conftest.c: In function 'main': conftest.c:297:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^~~~~ conftest.c:298:21: error: unknown type name 'DWORD' DWORD servlen=0; ^~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(const struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(const struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(const struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(const struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(const struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(const struct sockaddr *, socklen_t, | char *, int, | char *, int, | int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 conftest.c:288:5: error: conflicting types for 'getnameinfo' getnameinfo(const struct sockaddr *, socklen_t, ^~~~~~~~~~~ In file included from conftest.c:280: /usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^~~~~~~~~~~ configure:40117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV | #ifdef __ANDROID__ | __attribute__((overloadable)) | #endif | getnameinfo(const struct sockaddr *, socklen_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:40117: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:40117: $? = 0 configure:40130: result: const struct sockaddr *,socklen_t,socklen_t,int configure:40224: checking for stdio.h configure:40224: result: yes configure:40224: checking for sys/types.h configure:40224: result: yes configure:40224: checking for sys/socket.h configure:40224: result: yes configure:40224: checking for netdb.h configure:40224: result: yes configure:40224: checking for netinet/in.h configure:40224: result: yes configure:40224: checking for arpa/inet.h configure:40224: result: yes configure:40235: checking for working NI_WITHSCOPEID configure:40340: gcc -o conftest -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c -lz >&5 conftest.c:326:3: error: stray '#' in program } # AC-LANG-PROGRAM ^ conftest.c:326:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token } # AC-LANG-PROGRAM ^ configure:40340: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-pc-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 8 | #define SIZEOF_TIME_T 8 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV 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_CONNECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FCNTL 1 | #define HAVE_FCNTL_O_NONBLOCK 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_FDOPEN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_FREEIFADDRS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_XATTR_H 1 | #define HAVE_FSETXATTR 1 | #define HAVE_FSETXATTR_5 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_8 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_6 1 | #define GETHOSTNAME_TYPE_ARG2 size_t | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_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_UTIME 1 | #define HAVE_UTIMES 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 int | #define GETNAMEINFO_QUAL_ARG1 const | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * | #define HAVE_GETNAMEINFO 1 | #define ENABLE_IPV6 1 | #define HAVE_STDIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #ifdef HAVE_STDLIB_H | #include | #endif | #ifdef HAVE_STDIO_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | | int main (void) | { | | #if defined(NI_WITHSCOPEID) && defined(HAVE_GETNAMEINFO) | #ifdef HAVE_STRUCT_SOCKADDR_STORAGE | struct sockaddr_storage sa; | #else | unsigned char sa[256]; | #endif | char hostbuf[NI_MAXHOST]; | int rc; | GETNAMEINFO_TYPE_ARG2 salen = (GETNAMEINFO_TYPE_ARG2)sizeof(sa); | GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf); | GETNAMEINFO_TYPE_ARG7 flags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; | int fd = socket(AF_INET6, SOCK_STREAM, 0); | if(fd < 0) { | perror("socket()"); | return 1; /* Error creating socket */ | } | rc = getsockname(fd, (GETNAMEINFO_TYPE_ARG1)&sa, &salen); | if(rc) { | perror("getsockname()"); | return 2; /* Error retrieving socket name */ | } | rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags); | if(rc) { | printf("rc = %s\n", gai_strerror(rc)); | return 3; /* Error translating socket address */ | } | return 0; /* Ok, NI_WITHSCOPEID works */ | #else | return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */ | #endif | | ; | return 0; | } # AC-LANG-PROGRAM | configure:40357: result: no configure:40373: checking how to set a socket into non-blocking mode configure:40386: result: fcntl O_NONBLOCK configure:40397: checking for perl configure:40416: found /usr/bin/perl configure:40428: result: /usr/bin/perl configure:40442: checking for gnroff configure:40461: found /usr/bin/gnroff configure:40473: result: /usr/bin/gnroff configure:40488: checking how to use *nroff to get plain text from man pages configure:40506: result: -man configure:40653: checking whether to enable the threaded resolver configure:40669: result: no configure:40677: checking whether to use POSIX threads for threaded resolver configure:40693: result: auto configure:40804: checking whether to enable verbose strings configure:40822: result: yes configure:40828: checking whether to enable SSPI support (Windows native builds only) configure:40867: result: no configure:40874: checking whether to enable cryptographic authentication methods configure:40892: result: yes configure:40923: checking whether to enable NTLM delegation to winbind's helper configure:40930: result: no configure:40945: checking whether to enable TLS-SRP authentication configure:40964: result: yes configure:40979: checking whether to enable Unix domain sockets configure:40995: result: auto configure:41003: checking for struct sockaddr_un.sun_path configure:41003: gcc -c -Werror-implicit-function-declaration -O2 -Wno-system-headers conftest.c >&5 configure:41003: $? = 0 configure:41003: result: yes configure:41026: checking whether to enable support for cookies configure:41043: result: yes configure:41050: checking whether hiding of library internal symbols will actually happen configure:41064: result: yes configure:41082: checking whether to enforce SONAME bump configure:41097: result: no configure:41593: checking that generated files are newer than configure configure:41599: result: done configure:41690: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by curl config.status -, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on rugen20.cshl.edu config.status:1578: creating Makefile config.status:1578: creating docs/Makefile config.status:1578: creating docs/examples/Makefile config.status:1578: creating docs/libcurl/Makefile config.status:1578: creating docs/libcurl/opts/Makefile config.status:1578: creating docs/cmdline-opts/Makefile config.status:1578: creating include/Makefile config.status:1578: creating include/curl/Makefile config.status:1578: creating src/Makefile config.status:1578: creating lib/Makefile config.status:1578: creating scripts/Makefile config.status:1578: creating lib/libcurl.vers config.status:1578: creating tests/Makefile config.status:1578: creating tests/certs/Makefile config.status:1578: creating tests/certs/scripts/Makefile config.status:1578: creating tests/data/Makefile config.status:1578: creating tests/server/Makefile config.status:1578: creating tests/libtest/Makefile config.status:1578: creating tests/unit/Makefile config.status:1578: creating tests/fuzz/Makefile config.status:1578: creating packages/Makefile config.status:1578: creating packages/Win32/Makefile config.status:1578: creating packages/Win32/cygwin/Makefile config.status:1578: creating packages/Linux/Makefile config.status:1578: creating packages/Linux/RPM/Makefile config.status:1578: creating packages/Linux/RPM/curl.spec config.status:1578: creating packages/Linux/RPM/curl-ssl.spec config.status:1578: creating packages/Solaris/Makefile config.status:1578: creating packages/EPM/curl.list config.status:1578: creating packages/EPM/Makefile config.status:1578: creating packages/vms/Makefile config.status:1578: creating packages/AIX/Makefile config.status:1578: creating packages/AIX/RPM/Makefile config.status:1578: creating packages/AIX/RPM/curl.spec config.status:1578: creating curl-config config.status:1578: creating libcurl.pc config.status:1578: creating lib/curl_config.h config.status:1807: executing depfiles commands config.status:1807: executing libtool commands configure:44065: amending lib/Makefile configure:44065: amending src/Makefile configure:44065: amending tests/unit/Makefile configure:44065: amending tests/server/Makefile configure:44065: amending tests/libtest/Makefile configure:44065: amending docs/examples/Makefile configure:44178: Configured to build curl/libcurl: curl version: 7.55.0 Host setup: x86_64-pc-linux-gnu Install prefix: /usr/local Compiler: gcc SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} ) SSH support: no (--with-libssh2) zlib support: enabled GSS-API support: no (--with-gssapi) TLS-SRP support: no (--enable-tls-srp) resolver: default (--enable-ares / --enable-threaded-resolver) IPv6 support: enabled Unix sockets support: enabled IDN support: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=yes Built-in manual: enabled --libcurl option: enabled (--disable-libcurl-option) Verbose errors: enabled (--disable-verbose) SSPI support: no (--enable-sspi) ca cert bundle: /etc/pki/tls/certs/ca-bundle.crt ca cert path: no ca fallback: no LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS support: no (--enable-ldaps) RTSP support: enabled RTMP support: no (--with-librtmp) metalink support: no (--with-libmetalink) PSL support: no (libpsl not found) HTTP2 support: disabled (--with-nghttp2) Protocols: DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_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= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= 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_pipe=yes ac_cv_func_setlocale=yes ac_cv_func_setmode=no ac_cv_func_setrlimit=yes ac_cv_func_utime=yes ac_cv_func_utimes=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_idn2_h=no ac_cv_header_ifaddrs_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_io_h=no ac_cv_header_libgen_h=yes ac_cv_header_libssh2_h=no ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_tcp_h=yes ac_cv_header_poll_h=yes ac_cv_header_pwd_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_sgtty_h=yes ac_cv_header_signal_h=yes ac_cv_header_socket_h=no ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_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_time=yes ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_utime_h=yes ac_cv_header_zlib_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_axtls_ssl_version=no ac_cv_lib_crypto_HMAC_Init_ex=no ac_cv_lib_crypto_HMAC_Update=no ac_cv_lib_rtmp_RTMP_Init=no ac_cv_lib_ssh2_libssh2_channel_open_ex=no ac_cv_member_struct_sockaddr_un_sun_path=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_NROFF=/usr/bin/gnroff ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/usr/bin/sed ac_cv_path_ac_pt_AR=/usr/bin/ar ac_cv_path_ac_pt_PKGCONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_psl_builtin=no ac_cv_sizeof_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_sizeof_voidp=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_sig_atomic_t=yes ac_cv_type_signal=void ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_struct_sockaddr_storage=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes curl_cv_def___GNUC__=8 curl_cv_func_alarm=yes curl_cv_func_basename=yes curl_cv_func_closesocket=no curl_cv_func_closesocket_camel=no curl_cv_func_connect=yes curl_cv_func_fcntl=yes curl_cv_func_fcntl_o_nonblock=yes curl_cv_func_fdopen=yes curl_cv_func_freeaddrinfo=yes curl_cv_func_freeifaddrs=yes curl_cv_func_fsetxattr=yes curl_cv_func_ftruncate=yes curl_cv_func_gai_strerror=yes curl_cv_func_getaddrinfo=yes curl_cv_func_getaddrinfo_threadsafe=yes curl_cv_func_gethostbyaddr=yes curl_cv_func_gethostbyaddr_r=yes curl_cv_func_gethostbyname=yes curl_cv_func_gethostbyname_r=yes curl_cv_func_gethostname=yes curl_cv_func_getifaddrs=yes curl_cv_func_getnameinfo=yes curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int' curl_cv_func_getservbyport_r=yes curl_cv_func_gmtime_r=yes curl_cv_func_inet_ntoa_r=no curl_cv_func_inet_ntop=yes curl_cv_func_inet_pton=yes curl_cv_func_ioctl=yes curl_cv_func_ioctl_fionbio=yes curl_cv_func_ioctl_siocgifaddr=yes curl_cv_func_ioctlsocket=no curl_cv_func_ioctlsocket_camel=no curl_cv_func_localtime_r=yes curl_cv_func_memrchr=no curl_cv_func_poll=yes curl_cv_func_recv=yes curl_cv_func_recv_args='int,void *,size_t,int,ssize_t' curl_cv_func_select=yes curl_cv_func_select_args='int,fd_set *,struct timeval *,int' curl_cv_func_send=yes curl_cv_func_send_args='int,const void *,size_t,int,ssize_t' curl_cv_func_setsockopt=yes curl_cv_func_setsockopt_so_nonblock=no curl_cv_func_sigaction=yes curl_cv_func_siginterrupt=yes curl_cv_func_signal=yes curl_cv_func_sigsetjmp=yes curl_cv_func_socket=yes curl_cv_func_socketpair=yes curl_cv_func_strcasecmp=yes curl_cv_func_strcmpi=no curl_cv_func_strdup=yes curl_cv_func_strerror_r=yes curl_cv_func_stricmp=no curl_cv_func_strncasecmp=yes curl_cv_func_strncmpi=no curl_cv_func_strnicmp=no curl_cv_func_strstr=yes curl_cv_func_strtok_r=yes curl_cv_func_strtoll=yes curl_cv_func_writev=yes curl_cv_gclk_LIBS= curl_cv_getnameinfo=yes curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=no curl_cv_have_def__WIN32=no curl_cv_have_def___DECC=no curl_cv_have_def___DECC_VER=no curl_cv_have_def___GNUC__=yes curl_cv_have_def___HP_cc=no curl_cv_have_def___IBMC__=no curl_cv_have_def___INTEL_COMPILER=no curl_cv_have_def___LCC__=no curl_cv_have_def___SUNPRO_C=no curl_cv_have_def___TINYC__=no curl_cv_have_def___WATCOMC__=no curl_cv_have_def___clang__=no curl_cv_have_def___sgi=no curl_cv_have_def_h_errno=yes curl_cv_header_lber_h=no curl_cv_header_ldap_h=no curl_cv_header_ldap_ssl_h=no curl_cv_header_ldapssl_h=no curl_cv_header_malloc_h=yes curl_cv_header_memory_h=no curl_cv_header_winber_h=no curl_cv_header_windows_h=no curl_cv_header_winldap_h=no curl_cv_header_winsock2_h=no curl_cv_header_winsock_h=no curl_cv_header_ws2tcpip_h=no curl_cv_ldap_LIBS=unknown curl_cv_msg_nosignal=yes curl_cv_native_windows=no curl_cv_need_header_malloc_h=no curl_cv_recv=yes curl_cv_save_LIBS='-lz ' curl_cv_select=yes curl_cv_send=yes curl_cv_sig_atomic_t_volatile=no curl_cv_struct_timeval=yes curl_cv_variadic_macros_c99=yes curl_cv_variadic_macros_gcc=yes curl_cv_working_ni_withscopeid=no curl_cv_writable_argv=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=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' 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=no 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_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## @echo "Need to reconfigure with --enable-code-coverage" @echo "Need to reconfigure with --enable-code-coverage" $(CODE_COVERAGE_IGNORE_PATTERN); $(CODE_COVERAGE_OUTPUT_FILE); # # # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) # (Default: $(top_builddir)) # (Default: empty) # Multiple directories may be specified, separated by whitespace. # by lcov for code coverage. (Default: # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) # lcov instance. (Default: empty) # reports to be created. (Default: # set to 0 to disable it and leave empty to stay with the default. # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated # $(PACKAGE_VERSION). In order to add the current git hash to the title, # Capture code coverage data # Code coverage # Hook rule executed before code-coverage-capture, overridable by the user # Optional variables # Optional: # The generated report will be titled using the $(PACKAGE_NAME) and # Use recursive makes in order to ignore errors during check # sanitizes the test-name: replaces with underscores: dashes and dots # use the git-version-gen script, available online. $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ ' --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean ACLOCAL='${SHELL} /home/passala/Software/curl-7.55.0/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage AM_DISTCHECK_CONFIGURE_FLAGS ?= AM_V='$(V)' AR='/usr/bin/ar' AS='as' AUTOCONF='${SHELL} /home/passala/Software/curl-7.55.0/missing autoconf' AUTOHEADER='${SHELL} /home/passala/Software/curl-7.55.0/missing autoheader' AUTOMAKE='${SHELL} /home/passala/Software/curl-7.55.0/missing automake-1.15' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_TRUE='' BUILD_UNITTESTS_FALSE='' BUILD_UNITTESTS_TRUE='#' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-Werror-implicit-function-declaration -O2 -Wno-system-headers' CFLAG_CURL_SYMBOL_HIDING='-fvisibility=hidden' CODE_COVERAGE_BRANCH_COVERAGE ?= CODE_COVERAGE_CFLAGS='' CODE_COVERAGE_CPPFLAGS='' CODE_COVERAGE_CXXFLAGS='' CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_ENABLED='no' CODE_COVERAGE_ENABLED_FALSE='' CODE_COVERAGE_ENABLED_TRUE='#' CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ CODE_COVERAGE_IGNORE_PATTERN ?= CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ CODE_COVERAGE_LDFLAGS='' CODE_COVERAGE_LIBS='' CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_RULES=' CONFIGURE_OPTIONS='""' CPP='gcc -E' CPPFLAGS='' CPPFLAG_CURL_STATICLIB='' CROSSCOMPILING_FALSE='' CROSSCOMPILING_TRUE='#' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.55.0' CURL_CA_BUNDLE='"/etc/pki/tls/certs/ca-bundle.crt"' CURL_CFLAG_EXTRAS='' CURL_DISABLE_DICT='' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_GOPHER='' CURL_DISABLE_HTTP='' CURL_DISABLE_IMAP='' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_POP3='' CURL_DISABLE_PROXY='' CURL_DISABLE_RTSP='' CURL_DISABLE_SMB='' CURL_DISABLE_SMTP='' CURL_DISABLE_TELNET='' CURL_DISABLE_TFTP='' CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE='' CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#' CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE='' CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE='' CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#' CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#' CURL_LT_SHLIB_USE_VERSION_INFO_TRUE='' CURL_LT_SHLIB_VERSIONED_FLAVOUR='' CURL_NETWORK_AND_TIME_LIBS='' CURL_NETWORK_LIBS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DOING_CURL_SYMBOL_HIDING_FALSE='#' DOING_CURL_SYMBOL_HIDING_TRUE='' DOING_NATIVE_WINDOWS_FALSE='' DOING_NATIVE_WINDOWS_TRUE='#' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='yes' EXEEXT='' FGREP='/usr/bin/grep -F' GCOV='' GENHTML='' GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) GITIGNOREFILES ?= GREP='/usr/bin/grep' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='1' HAVE_LIBZ='1' HAVE_LIBZ_FALSE='#' HAVE_LIBZ_TRUE='' HAVE_OPENSSL_SRP='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LCOV='' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBCURL_LIBS='-lz' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='-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/passala/Software/curl-7.55.0/missing makeinfo' MANIFEST_TOOL=':' MANOPT='-man' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' NROFF='/usr/bin/gnroff' NSS_LIBS='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='curl' PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/' PACKAGE_NAME='curl' PACKAGE_STRING='curl -' PACKAGE_TARNAME='curl' PACKAGE_URL='' PACKAGE_VERSION='-' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PKGADD_NAME='curl - a client that groks URLs' PKGADD_PKG='HAXXcurl' PKGADD_VENDOR='curl.haxx.se' PKGCONFIG='no' RANDOM_FILE='' RANLIB='ranlib' REQUIRE_LIB_DEPS='no' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' SONAME_BUMP_FALSE='' SONAME_BUMP_TRUE='#' SSL_ENABLED='' SSL_LIBS='' STRIP='strip' SUPPORT_FEATURES='IPv6 UnixSockets libz' SUPPORT_PROTOCOLS='DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP' USE_ARES='' USE_AXTLS='' USE_CPPFLAG_CURL_STATICLIB_FALSE='' USE_CPPFLAG_CURL_STATICLIB_TRUE='#' USE_CYASSL='' USE_DARWINSSL='' USE_EMBEDDED_ARES_FALSE='' USE_EMBEDDED_ARES_TRUE='#' USE_EXPLICIT_LIB_DEPS_FALSE='' USE_EXPLICIT_LIB_DEPS_TRUE='#' USE_GNUTLS='' USE_GNUTLS_NETTLE='' USE_LIBPSL_FALSE='' USE_LIBPSL_TRUE='#' USE_LIBRTMP='' USE_LIBSSH2='' USE_MANUAL_FALSE='#' USE_MANUAL_TRUE='' USE_MBEDTLS='' USE_NGHTTP2='' USE_NSS='' USE_OPENLDAP='' USE_POLARSSL='' USE_SCHANNEL='' USE_UNIX_SOCKETS='1' USE_WINDOWS_SSPI='' VERSION='-' VERSIONNUM='073700' ZLIB_LIBS='-lz' ZSH_FUNCTIONS_DIR='${prefix}/share/zsh/site-functions' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' check-code-coverage: code-coverage-capture-hook: code-coverage-capture: code-coverage-capture-hook code_coverage_quiet = $(code_coverage_quiet_$(V)) code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) code_coverage_quiet_0 = --quiet code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/passala/Software/curl-7.55.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libext='a' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "curl" #define PACKAGE_TARNAME "curl" #define PACKAGE_VERSION "-" #define PACKAGE_STRING "curl -" #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/" #define PACKAGE_URL "" #define PACKAGE "curl" #define VERSION "-" #define OS "x86_64-pc-linux-gnu" #define HAVE_SYS_TYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_LONG 8 #define SIZEOF_VOIDP 8 #define CURL_TYPEOF_CURL_OFF_T long #define CURL_FORMAT_CURL_OFF_T "ld" #define CURL_FORMAT_CURL_OFF_TU "lu" #define CURL_FORMAT_OFF_T "%ld" #define CURL_SIZEOF_CURL_OFF_T 8 #define CURL_SUFFIX_CURL_OFF_T L #define CURL_SUFFIX_CURL_OFF_TU UL #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_LDAP_SSL 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define HAVE_ZLIB_H 1 #define HAVE_LIBZ 1 #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_WRITABLE_ARGV 1 #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_TERMIO_H 1 #define HAVE_SGTTY_H 1 #define HAVE_FCNTL_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_TIME_H 1 #define HAVE_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_ARPA_TFTP_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_VARIADIC_MACROS_C99 1 #define HAVE_VARIADIC_MACROS_GCC 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_STRUCT_TIMEVAL 1 #define SIZEOF_SIZE_T 8 #define SIZEOF_LONG 8 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define CURL_SIZEOF_LONG 8 #define SIZEOF_TIME_T 8 #define SIZEOF_OFF_T 8 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define CURL_PULL_SYS_TYPES_H 1 #define CURL_PULL_SYS_SOCKET_H 1 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t #define CURL_SIZEOF_CURL_SOCKLEN_T 4 #define HAVE_SYS_TYPES_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIG_ATOMIC_T 1 #define RETSIGTYPE void #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define SELECT_TYPE_ARG1 int #define SELECT_TYPE_ARG234 fd_set * #define SELECT_TYPE_RETV int #define SELECT_QUAL_ARG5 #define SELECT_TYPE_ARG5 struct timeval * #define HAVE_SELECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define RECV_TYPE_ARG1 int #define RECV_TYPE_ARG2 void * #define RECV_TYPE_ARG3 size_t #define RECV_TYPE_ARG4 int #define RECV_TYPE_RETV 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_CONNECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FCNTL 1 #define HAVE_FCNTL_O_NONBLOCK 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDIO_H 1 #define HAVE_FDOPEN 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_NETDB_H 1 #define HAVE_FREEADDRINFO 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_FREEIFADDRS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_FSETXATTR 1 #define HAVE_FSETXATTR_5 1 #define HAVE_FTRUNCATE 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDLIB_H 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETADDRINFO_THREADSAFE 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_GETHOSTBYADDR_R 1 #define HAVE_GETHOSTBYADDR_R_8 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYNAME_R 1 #define HAVE_GETHOSTBYNAME_R_6 1 #define GETHOSTNAME_TYPE_ARG2 size_t #define HAVE_GETHOSTNAME 1 #define HAVE_GETIFADDRS 1 #define HAVE_GETSERVBYPORT_R 1 #define GETSERVBYPORT_R_ARGS 6 #define GETSERVBYPORT_R_BUFSIZE 4096 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_GMTIME_R 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_IOCTL 1 #define HAVE_IOCTL_FIONBIO 1 #define HAVE_IOCTL_SIOCGIFADDR 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_POLL_FINE 1 #define HAVE_SETSOCKOPT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGACTION 1 #define HAVE_SIGINTERRUPT 1 #define HAVE_SIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGSETJMP 1 #define HAVE_SOCKET 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR_R 1 #define HAVE_POSIX_STRERROR_R 1 #define STRERROR_R_TYPE_ARG3 size_t #define HAVE_STRNCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOLL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_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_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define GETNAMEINFO_TYPE_ARG2 socklen_t #define GETNAMEINFO_TYPE_ARG46 socklen_t #define GETNAMEINFO_TYPE_ARG7 int #define GETNAMEINFO_QUAL_ARG1 const #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * #define HAVE_GETNAMEINFO 1 #define ENABLE_IPV6 1 #define HAVE_STDIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define USE_MANUAL 1 #define USE_UNIX_SOCKETS 1 #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) configure: exit 0